Click here to Skip to main content
15,911,891 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all,
i just want to know which control load first html or web server control in asp.net???
Posted

In Fact Both. In Run time Asp.net controls also converted to Html Controls.
If you want to Change any values,U may change in Page Load Times.
First Call will be Code side(Server Side) then it comes to Aspx Page.
 
Share this answer
 
Comments
santosh pabba 23-May-13 6:48am    
Explain your requirement. We might help you.
jayeshkumar.rathod 23-May-13 6:55am    
sir i just want to know for knowledge or for interview. =)
When a client makes request for a page to the web server, the output generated for that page is HTML. Suppose you have a page with two controls: a "span" tag and an asp "label". in this case the later (asp Label) will be converted into its equivalent HTML markup(span). So the point is the controls with "asp:" tags(server controls) are converted into HTML controls(client side). If you see the source of any aspx page you will notice there is no "asp:" tag in the output. Its just that client side controls are not converted by the ASP.Net engine. So its good to use server controls only when they are required. And also, the output is returned as a stream so there is no scope for which control first.
 
Share this answer
 
v2
first initial object in your page.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900