html - Why asp.net control is accessed by '<%=controlid.ClientID%>' format in client side -
why asp.net command accessed '<%=controlid.clientid%>' format in client side.
whereas html command accessed straight id.
because default, asp.net web control's clientid
dynamically generated. if want access same way html controls, can set clientidmode
static
.
http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientidmode.aspx
asp.net html rendering
No comments:
Post a Comment