开发者

asp.net textbox doesn't have clientmode attribute

If I declare a DIV and set it to runat server I get a clientmode attribute which I can set to determine what th开发者_Go百科e ID comes out to be on the rendered page. I need to do this for a drop down and a textbox but clientmode isn't available on those controls.

What can I do? I don't want to do some crazy workaround. If it comes to it i'll just do an auto postback and do what I need there.


DropDownLists and TextBoxes have a ClientID attribute that tells you the client-side ids of the rendered HTML elements.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜