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

Loading last updated info...

<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.

Authors

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star