Do you know when anchor should "run at server"?

Last updated by TiagoAraujo over 7 years ago.See history

<a> tag should runat=“server" *ONLY* if you need to change the target at runtime.

If you include runat=“server" for an HTML element that you do not need access to in code behind, you are introducing a whole lot of overhead you do not need.

We have a program called SSW Code Auditor to check for this rule.

We open source. Powered by GitHub