开发者

Asp.Net weird name?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜