I am new to asp.net. I want to know that, HTML and Web form control can work
in same way example, using "runat = Server" attribute, html control can also
executed at server, then what is the use of HTML control and is there is any
specific condition when we use only HTML control or web form control.
Thanks and regards,
Bhuwan"Bhuwan Bhaskar" <kxxx@.gmail.comwrote in message
news:uxe%23IJ4HIHA.4560@.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
I am new to asp.net. I want to know that, HTML and Web form control can
work in same way example, using "runat = Server" attribute, html control
can also executed at server, then what is the use of HTML control and is
there is any specific condition when we use only HTML control or web form
control.
http://www.google.co.uk/search?sour...ls+HTMLControls
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
Html controls are lighter. One of typical scenarios where you may want to
use html controls is when you have an html prototype of your page and you
need to program it in asp.net. Then it is easier just to add runat=server to
html controls.
Web controls offer common set of server-side members that can make your code
cleaner and more readable.
--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Bhuwan Bhaskar" <kxxx@.gmail.comwrote in message
news:uxe%23IJ4HIHA.4560@.TK2MSFTNGP03.phx.gbl...
Quote:
Originally Posted by
Hi,
>
I am new to asp.net. I want to know that, HTML and Web form control can
work in same way example, using "runat = Server" attribute, html control
can also executed at server, then what is the use of HTML control and is
there is any specific condition when we use only HTML control or web form
control.
>
Thanks and regards,
Bhuwan
>
No comments:
Post a Comment