.Net kindly changes the identifiers of elements on my pages, adding ct100_ to them. As much as I appreciate that Microsoft is trying to help me avoid duplicate identifiers on my site, I think I can handle it myself. Can someone tell me how to prevent this? Thanks in advance.
You need to:override the behavior of ordinary controls to separate the Control.UniqueID property from the Control.ID property;override the container naming controls so that we can control how identifiers are generated and how to find the control
:http://nunogomes.net/post/2008/06/02/ASPNET-Controls-Improving-automatic-ID-generation-Architectural-Changes-(-Part-3).aspx
http://weblogs.asp.net/nunogomes/archive/2008/06/04/asp-net-controls-improving-automatic-id-generation-architectural-changes-part-3.aspx
http://forums.asp.net/t/1394822.aspx
aspnet. clientid .
js, clientid, .
: , ASP.NET. HTML, . , runat=server. , webforms viewstate .., .
runat=server
, - , , ... ( , !).
ASP.NET - . , ASP.NET MVC - ?
, INamingContainer , , . ClientID , , .
.
ASP.NET, .NET Server .
, myControl.ClientID.
Source: https://habr.com/ru/post/1705612/More articles:Converting a number to a binary string - pythongdata client authentication without captcha - gdata-apiIs it possible (or desirable) for a work item to queue an assembly in TFS? - tfsMono 2.4, AutoHosting and MVC - .netОтображение данных в виде блок-схемы в веб-приложении - asp.net-mvcHow can I use the Cocoa app? - timeWhy don't PreSendRequestHeaders and PreSendRequestContent start? - eventsGood solution for including template text in source file using SVN? - javaIE7 is indented text when it should not be - cssC functions using parameters? - cAll Articles