Blue Theme Orange Theme Green Theme Red Theme
 
Team Foundation Server Hosting
Home | Forums | Videos | Advertise | Certifications | Downloads | Blogs | Interviews | Jobs | Beginners | Training
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Team Foundation Server Hosting
Search :       Advanced Search »
Home » Articles » Help Technique in Web applications

Help Technique in Web applications

Help is a most important part our web applications, as mostly we don't notice it, but sometimes is plays a very big role for saving our time and work.

Page Views : 2496
Downloads : 0
Rating :
 Rate it
Level : Beginner
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
 
DevExpress Free UI Controls
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 


Help Technique in Web applications

"Help" is a most important part our web applications, as mostly we don't notice it, but sometimes is plays a very big role for saving our time and work.

Suppose of a button having only an image. Most of the times, we are not able to understand what the button click would do. When we place mouse pointer over the button, it shows the usage of that as a tooltip, which is a part of web help technique.

Many times when we read a topic that contains special words, definition then don't we have to search on net about it, just we click and a small window opens with the description this is also a part of "help" for web applications.

So here I'm going to explain some techniques "How to add help to web applications".

Displaying ToolTips

ToolTip is a very basic and very important part of web, as I discussed in the intro.

"Suppose of a button having only an image, manytimes we are not able to understand what does it means but when we place mouse pointer over it, it shows the usage of that as a tooltip".

About

Tooltip shows at runtime, almost all "server" controls having this (tooltip) property inbuilt.
One important thing about tooltip is that Internet Explorer dosen't accepts the "tooltip" property of asp.net controls it takes this property as "title".

In HTML controls you have to use the "title" property instead of "tooltip" for controls to show the help.

 Server control_

 Code: 
<
asp:ImageButton runat="server" ID="imgbutton" ToolTip="This is an eye,Click here to enter in web" ImageUrl="~/Lilac_by_KinkyPink.jpg"/>

 Output:

tooltip.JPG
 

Html control_
Code:

 <input type="image" title="This is an amazing eye" runat="server"
src="Lilac_by_KinkyPink.jpg" style="height: 46px; width: 64px"/>

 Output: will look like same as server control.

Diplaying help in a popup window:

Some times while discussing a long term, we use some keywords that include long definitions and difficult to understand for a newbe, for this purpose popup window can be used for a help purpose, it can be a html page or an .aspx page-depends on your need.

Code:
<a href="#" onclick="window.open('procedure.htm','popup','left = 900 height=200,width=200,scrollbars=yes'); return(false);"> Procedure </a>are the most important topic of SQL.

Explanation:

We have used # in href to give the current page reference and we used a onclick to open a new window "procedure.htm" which we have already created.

"Left = 900" is the pop window position and further are some properties.
Here procedure keyword is a link and rests are simple chars.

Output: When you click on the "Procedure" keyword it will open a new window containing the text entered in that page "procedure.htm" by you.

Try it.

HTML help:

If you have HTMLHELP.chm created in your system then a simple link can be used to pop it up any time.

Download "HTML Help Workshop" for this type of help feasility.

You can download it from here for free:

http://www.microsoft.com/downloads/details.aspx?FamilyID=00535334-c8a6-452f-9aa0-d597d16580cc&displaylang=en

                                               (Valid download from Microsoft)

Installed

Now follow these steps to create a HTML help workshop for a project, website etc.

Starts -> All Programs -> HTML Help Workshop -> HTML Help Workshop.

 help1.JPG
Now click on the "New" toolbar.

A new window will open like this.

<!--[if !vml]-->help2.JPG
<!--[endif]-->

Select Project then click OK button.

 help3.JPGClick on the next button to proceed.
help4.JPG
 

Browse the location where you want to create the file, just give a name and click open.

Click on the next button again.

<!--[if !vml]-->help5.JPG
<!--[endif]-->

Don't check any check box if you haven't create any file.

Click on the next button and then click on the finish button then a new window will appear like this.

 help6.JPG

Just use these buttons to make your help project.

When you have done all the editing for creating help project click on this "Compile HTML file" button and then give the path of that .hhp file.help7.JPG

Compile the project.

 help8.JPG

Now see that a helpfile.chm has created on that location.

Done!!

Conclusion

We learned how to use Help techniques for web applications.

Thanks!!

-Nikhil Kumar

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Nikhil Kumar
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Discover the Top 5 .NET Memory Management Fundamentals
To write the best .NET code, you need to know exactly how the .NET framework really manages memory. Ricky Leeks presents the Top 5 fundamental facts of .NET memory management. Learn more.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
Team Foundation Server Hosting
Become a Sponsor
 Comments
Nevron Chart
 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.