tags:

views:

71

answers:

1

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">
A: 

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.

Soundsoldier