ASP.NET Hyperlinks asp:HyperLink vs A href -


in asp.net when should use:

<asp:hyperlink    id="home"    runat="server"   text="home"   navigateurl="./home.aspx"> 

and when shoudl use

<a href="./unsignedvssignedtut.aspx">home</a>  

?

asp.net server controls give more abilities (e.g. event handling, more properties). html controls on other hand simpler.

both controls fine. can start html control , migrate asp:hyperlink if need later.

you can @ these discussions:


Comments

Popular posts from this blog

c++ - list<myClass<int> * > sort -

SoapUI on windows 10 - high DPI/4K scaling issue -

java - why am i getting a "cannot resolve method" error on getApplication? -