Is ASP.NET name matching consistent?
When you have an ASP control as follows:
<asp:TreeView ID="TreeItems" runat="server"></asp:TreeView>
The generated html manages the names. If I want to access the identifiers of the generated elements directly, I can try to find out that it is distorting the names and looking for that identifier.
Are the names of the generated elements guaranteed to be executed in a certain way according to any standard set by Microsoft? I'm just afraid of this hack if they release a new version of .NET that does it differently. Is there a way to generate a name that controls itself in code?
ASP.NET .NET 4, , .
: http://weblogs.asp.net/asptest/archive/2009/01/06/asp-net-4-0-clientid-overview.aspx
, jQuery, , , - :
$("input[id*='TreeItems']")