How do you determine the management server username NAME?

Say I have a DropDownList server control called “CategoriesDDL”, and the prodeprty ClientID defines its client side identifier, which is its identifier, the prefix id id of NamingContainer. In this case, the client-side identifier is CP1_CategoriesDDL. But what is the rule regarding the name of the client side, in this case "ct100 $ CP1_CategoriesDDL"?

+5
source share
2 answers

If you accidentally did not execute the Control.UniqueId property

On the server side, this will return the value of the name attribute of the client side of the control.

+12

ASP.NET 4? , ClientIDMode "". Auto, , "_" "$". , , "_" "$", .

ClientIDMode="Static", .

ASP.NET 4, , .

-1

All Articles