I know with ASP.Net 4.0 you can have ClientIDMode to static to have clean ID.
Is there开发者_开发技巧 something to have "name" the same way?
Example :
<input type="text" name="_wizard$ctl00$CaptionName" id="captionName">
You could output a key/pair javascript collection with the list of controls you're looking to operate on client-side. Control.ClientID and ClientScript.RegisterStartupScript are your friends.
精彩评论