Saturday, 22 December 2012 13:56

how to specify help in asp.net

Written by 
Rate this item
(0 votes)

to display the help and let the users easily get help
whenever they need it you can call the Help.ShowHelp
method in your form.

for this first create a windows application.name it help
place a button in the designer and set the text-show help.
now double click on the button and write the following
code the the code file-
Help.ShowHelp(Form, @"d:\Helpfile.htm");

or you can also define a parameter-HelpNavigator.this
will specify which elements to display from the help file.
you may also define a keyword to search for.a example
follows-
Help.ShowHelp(Form, @"d:\HelpFile.htm", "Topic");

the HelpProvider component lets you specify control help
on form.this HelpProvider,an extender provider-maintains
properties for every control added in the form.you may
define a HelpString for every control on you form.

this string is shown whenever the focus of the control is
active and f1 is pressed.you may also define a HelpNameSpace
which defines the Url for the file of help related with
HelpProvider.

some properties are HelpString,HelpKeyWord,HelpNavigator.
you can set these properties for this component.

Read 2917 times
Super User

Email This email address is being protected from spambots. You need JavaScript enabled to view it.

Latest discussions

  • No posts to display.