开发者

Can we access the HTML Controls to Server Side in Asp.Net?

开发者 https://www.devze.com 2023-02-08 00:48 出处:网络
Hi could any one 开发者_如何学Gohelp me regarding the accessibility of HTML controls to Server Side ?You should add runat=\"server\" attribute to your HTML elements to access them at server side.Have

Hi could any one 开发者_如何学Gohelp me regarding the accessibility of HTML controls to Server Side ?


You should add runat="server" attribute to your HTML elements to access them at server side.


Have a look at this article: http://odetocode.com/articles/348.aspx

You can add runat="server" and use controls in System.Web.UI.HtmlControls namespace to access it.

0

精彩评论

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