开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜