1.

Hyperlink Vs LinkButton in ASP.NET?

Answer»
  • A Hyperlink just redirects to a GIVEN URL identified by "NavigateURL" property.
  • LINK Button does not have Navigate URL INSTEAD it has “Postback URL” property
  • LinkButton causes a postback to the same page but it doesn't redirect to a given URL
  • HyperLink doesn't have the OnClick event. Link Button has Onclick event
  • if you need to do any operation with data that's on the page you will have to use a LinkButton (or a Button), but if you just need to redirect the USER to somewhere else go for an HyperLink


Discussion

No Comment Found