开发者

Asp.Net weird name?

开发者 https://www.devze.com 2023-01-20 00:59 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消