I have a ASP.NET Winform website. Id´s of the elements are often long, like this :
Most of the id´s is only used at server side so there is really no point in sending id to the client.
Is there anyway to handle this or will I have to manually change my names to somthing like this :
This will of couse dont say much about the element but the total amount of data sent to client would be reduced a lot.Answer1:
Use the <a href="http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientidmode(v=vs.110).aspx" rel="nofollow">
ClientIDMode</a> property introduced in .NET 4.0. You might want
Static since that will make it just