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

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

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