C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Difference between Hyperlink and Linkbutton


Posted Date: 26 Jun 2008    Resource Type: Tips    Category: Web Development
Author: SUDHAKARMember Level: Silver    
Rating: Points: 2



Hyperlink will be used to redirect to another page.
Link button can also be used to redirect to another page.
Both look very similar when you see them in runtime.
Then what is the difference between them?
The difference is Link button will have click event which you dont have in hyperlink.
So, in click event you can write your own code.




Responses

Author: Bunty    29 Jun 2008Member Level: Diamond   Points : 2
Hi,

Short and simple information on linkbutton and hyperlink.

If possible give some more information on linkbutton and hyperlink.

Thanks for sharing your knowledge.

Keep posting.

Thanks and Regards
S.S.Bajoria


Author: Shilpi Sharma    30 Jun 2008Member Level: Bronze   Points : 2
Hi,

To the Web page visitor, a HyperLink control and a LinkButton control look identical. However, there is a significant difference in functionality.

The HyperLink control immediately navigates to the target URL when the user clicks on the control. The form is not posted to the server.

The LinkButton control first posts the form to the server, then navigates to the URL. If you need to do any server-side processing before going to the target URL, use a LinkButton.

On the other hand, if there is no server-side processing necessary, don't waste a round trip and use the HyperLink control.

Hoping this post is helpful for u


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Chirag patel  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: How do you create and delete a permanent cookie
Previous Resource: Serialization Events
Return to Discussion Resource Index
Post New Resource
Category: Web Development


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use