hi.
i m new to asp.net. while i know how to program in c#.
my question: what is the use of html controls while web controls are present in asp.net , and in which conditions we use mix of both. and how to validate web controls via javascript on client side????
thx in advance...
mansoor
Loading
Prabhu RajaPosted Oct 25, 2011, 10:50 AM
The Html Controls are Browser Controls (Client-side ) Such as Labels, buttons, textboxes etc. The Asp.Net Controls are Server Controls (Server-side).
You can use Html controls,if your page doesn't change content dynamically. Other-wise, go with Asp.Net Controls. So, the Html Controls are good for Static Page and Web Controls are good for Dynamic Page.
Jean PaulPosted Oct 25, 2011, 7:30 AM
We can create pure html pages inside an ASP.NET application. In this case we need to have the HTML controls. Processing of the page could be a post to another ASPX page in another server.
Eg: serverA.html processed by serverB.asp.net