GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet

 Print  |  
Question:  Briefly explain what user controls are and what server controls are and the differences between the two.



January 01, 2006 06:32:10 #2
 samiksc   Member Since: October 2005    Total Comments: 231 

RE: Briefly explain what user controls are and what se...
 

A server side control is a built in control provided by .Net framework class libraries. This control may be placed on a web form and all its events are handled on the server.

A user control is a .ascx file created by a developer, to combine built in controls to form a new control which will be required frequently for a web site developement. This file contains a '@control' directive at the top. This file can be included in other .aspx files using @Register directive.

     

 

Back To Question