Let’s say I have a DropDownList server control, called “CategoriesDDL” and the ClientID proeprty determines its client side id, which is its ID prefixed with the id’s NamingContainer’s ids. In this case the client side ID is CP1_CategoriesDDL. But what is the rule regarding the client side name, in this case “ct100$CP1_CategoriesDDL”?
Let’s say I have a DropDownList server control, called CategoriesDDL and the ClientID proeprty
Share
Any chance you’re simply after the Control.UniqueId property?
Server side, this will return the client side “name” attribute value of the control.