忙考試啊.可以考試過后嗎
很愿意幫你 但是...
英語翻譯
英語翻譯
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.
其他人氣:342 ℃時(shí)間:2020-03-29 14:08:58
優(yōu)質(zhì)解答
我來回答
類似推薦
- 幫忙翻譯下ASP.NET語句
- X-Powered-By:ASP.
- sessionstate怎么翻譯,ASP.NET的內(nèi)容.翻譯成漢語
- The science lab is _next to the gym_ 對劃線部分提問
- 請哪位英語高手幫我把這首歌翻譯一下《How to save a life》謝謝
- A:Did Patsy _ to you yesterday?B:Yes,she _ to me at school.
- 某金屬氧化物的化學(xué)式為R2O5.在1.6g此氧化物
- 英語手抄報(bào)短文 如;MY SCHOOL 50字左右
- 數(shù)學(xué)怎么證明有界 證明f(x)=sinx/(2+cosx)是有界函數(shù)?《高等數(shù)學(xué)》
- (1)從甲地到乙地有上坡和下坡,小明騎自行車從甲地去乙地共用四又二分之一小時(shí).小明上坡時(shí)速度是每小時(shí)14千米,下坡時(shí)速度為每小時(shí)21千米,問甲、乙兩地相距多少千米?
- 100g稀硫酸與200g質(zhì)量分?jǐn)?shù)為10%的氫氧化鈉溶液恰好完全反應(yīng),計(jì)算:
- 鈷鉧潭西小丘記抒發(fā)了什么情感
猜你喜歡
- 1P是等腰直角三角形ABC中的一點(diǎn),角B是直角,PA=3,PB=2.PC=1,求角BPC=多少度?
- 2一毫升水等于多少克水
- 3我最什么的人作文200
- 4已知sinx=m+1 cosx=m-1 求tanx
- 525千克花生米可以炸8千克油,60千克花生米可以炸多少錢可油.的數(shù)量關(guān)系是是什么
- 6蘇軾60個(gè)字的詩有哪些
- 7請結(jié)合具體事例 談?wù)劄槭裁丛诮?jīng)濟(jì)發(fā)展到現(xiàn)階段要特別強(qiáng)調(diào)生態(tài)文明建設(shè) 把生態(tài)文明
- 8我們?yōu)槭裁匆泄?他會對我們起到什么作用?
- 9“組成成分”和“基本物質(zhì)”有什么區(qū)別
- 10關(guān)于感恩的英語短詩
- 11向量a,b是兩個(gè)已知向量,t是實(shí)數(shù)變量,當(dāng)向量ta+(t-1)b的模最小時(shí),t的值是C.A.(a+b)b B.(b+a)a C.
- 12雙氧水的化學(xué)式