Make Asp.net respect your html ids (.Net 4+)
In .Net 4 and up just add:
clientidmode="Static"
to any tag that has
runat="server"
to stop Asp.net from making the crazy
id="ctl00_cphMainContent_myId"
garbage.
Written by Matt Munday
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Html
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#