How to Use HTML Help Viewer in Your ASP.NET Web Application?Whatever application you develop, success of the application lies with the Users. Users have to be comfortable in accessing the application. That is accomplished by providing easily understandable help manual of the application to the User. Basically there are three different ways of providing help in your ASP.NET application. They are mentioned below:
Provide
ToolTip for HTML controls and server controls used in the application This article
will focus on the third option using HTML Help Viewer to display
help. HTML Help Viewer is provided by Windows. Many tools and applications are using this help viewer to create their own customized help. For example, open Internet Explorer. In the Help menu, click on Contents and Index. You will see a help document as shown below:
This help document is an HTML Help Document constructed using HTML Help Workshop. You can construct similar help in your ASP.NET Web Application and you can define your application related topics and contents. How to Display
Your Content in HTML Help? <a href="#" onclick="window.showHelp('helpContent.aspx')">Help</a> When User clicks on Help link, content available in helpContent.aspx will be displayed in a window displayed over your web application. This is a simple approach but not so formal. To provide advanced help features like Index and Search options and to provide elaborative help contents, use HTML Help Workshop. Basic steps to be followed to achieve the same are mentioned below: Download
and Run HTML Help Workshop. <a href="#"
onclick="window.showHelp('E:\\testHelpFolder\\testHelpFile.chm')">
'E:\\testHelpFolder\\testHelpFile.chm' is the file name along with its absolute path. You can specify your own file name inside window.showHelp method. When
User tries to access help, the compressed file has to be downloaded into
users machine. If you want to read or write contents into .chm file, you have to use IStorage Interface. Moreover when the size of the compressed file is huge, HTML Help Workshop helps you to split the .chm file into many files. Each file belongs to a different file system and contains specific file content of the compressed file. Here is a list of those file extensions and the content they will hold. .chm
File: Main help file that can contain all the contents, if size is not
an issue. Benefits of Using HTML Help with Compressed File (.chm): HTML
Help will populate Contents window as well as the content
selected in the right pane of the window at the same time. Limitations in Using HTML Help with Compressed File (.chm): HTML
Help can contain only HTML Pages and not any other page types like web
forms.
|