题目
英语翻译
HTML Server Controls
HTMLserver controls are simple HTML tags with a runat="server"attribute,which enables developers to access them programmatically and work with them in a similar way to Web controls.So,why include these types of controls when we have Web controls?Well,HTMLserver controls do havesome advantages over Web controls,including:
1.Web developers coming from an ASP3 or similar background may prefer to work with the HTML-style of control that they're used to
2.Developers can convert existing HTMLtags to HTMLserver controls fairly easily,thus gaining some server-side programmatic access to the control When a runat="server" attribute is added to an HTMLtag,the tag becomes a control.Each of these controls derives its functionality from the System.Web.UI.HtmlControls.HtmlControl base class.
Like Web controls,HTMLserver controls offer a variety of features that include:
1.Programmatic object model:
HTMLserver controls can be accessed programmatically on theserver.Each HTMLserver control is an object and you can access its various properties and get(and /set) them in your method or event-handler code.
2.Event processing:
HTMLserver controls provide a mechanism to write event handlers in muchthe same way as you would for a client-based form.The only difference is that the event is handled in the server code.
3.Automatic value caching:
When form data is posted to the server,the values that the user entersinto the HTMLserver controls are automatically maintained when the page is sent back to the browser.The magic behind this functionality is the result of a property called ViewState that all ASP.NET Web controls inherit.
HTML Server Controls
HTMLserver controls are simple HTML tags with a runat="server"attribute,which enables developers to access them programmatically and work with them in a similar way to Web controls.So,why include these types of controls when we have Web controls?Well,HTMLserver controls do havesome advantages over Web controls,including:
1.Web developers coming from an ASP3 or similar background may prefer to work with the HTML-style of control that they're used to
2.Developers can convert existing HTMLtags to HTMLserver controls fairly easily,thus gaining some server-side programmatic access to the control When a runat="server" attribute is added to an HTMLtag,the tag becomes a control.Each of these controls derives its functionality from the System.Web.UI.HtmlControls.HtmlControl base class.
Like Web controls,HTMLserver controls offer a variety of features that include:
1.Programmatic object model:
HTMLserver controls can be accessed programmatically on theserver.Each HTMLserver control is an object and you can access its various properties and get(and /set) them in your method or event-handler code.
2.Event processing:
HTMLserver controls provide a mechanism to write event handlers in muchthe same way as you would for a client-based form.The only difference is that the event is handled in the server code.
3.Automatic value caching:
When form data is posted to the server,the values that the user entersinto the HTMLserver controls are automatically maintained when the page is sent back to the browser.The magic behind this functionality is the result of a property called ViewState that all ASP.NET Web controls inherit.
提问时间:2020-11-20
答案
忙考试啊.可以考试过后吗
很愿意帮你 但是...
很愿意帮你 但是...
举一反三
我想写一篇关于奥巴马的演讲的文章,写哪一篇好呢?为什么好
奥巴马演讲不用看稿子.为什么中国领导演讲要看?
想找英语初三上学期的首字母填空练习……
英语翻译
1,人们染上烟瘾,最终因吸烟使自己丧命.
最新试题
热门考点
- 1已知正方形ABCD的边长为1,点E是AB边上的动点,则DE•DC的最大值为_.
- 2设f(x)=log2(x^2-3x+4),则f(x)的定义域
- 3ok 你听我慢慢说 英语翻译
- 4把一堆苹果分给几个孩子,如果每人分3个,则余8个;如果前面每人分5个,则最后一人得到的苹果数不足3个,求小孩的人数和苹果的个数.
- 5.已知A=3x的三次方-2x.
- 6请问敏感元器件的仓库存储温度和湿度范围是多少?
- 7改为反义疑问句
- 8We have only heard of it but have never seen it.
- 9描写谈吐的成语、描写眼睛的成语、描写悲伤的成语、描写勇敢的成语各五个
- 10My brother has a good basketball ———————— 对划线部分提问