ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is the Difference between user and server controls?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the Difference between user and server controls?
Answer
# 1
There are two main categories of creatable Web controls. 
User controls are more simple to create, but custom 
controls are more simple to use. The extra effort that goes 
into creating custom controls pays off for the developer 
using the control at design time.

User controls are saved with an ASCX file extension. 
Although they can be easily reused on any of the pages 
within the project in which they were created, there is no 
good way to reuse them in a different project. Another 
downside to user controls is that they only appear on the 
page at run time; at design time they appear on the page as 
an ugly gray box, making it difficult to envision how 
they'll appear to your users.

Custom controls can do everything that user controls can 
do - and much more. The biggest drawback is that they are 
more challenging and complex to create. Drag and drop is 
not supported for the creation of these controls. 
Therefore, all the HTML they output must be generated via 
code. Pretty much all the articles & controls on this web 
site are examples of custom controls. In addition to run-
time functionality without limits, custom controls support 
rich design-time functionality. They can appear on a page 
at design time the same way they'll appear at run time, or 
differently if preferred. They can be adjusted to change 
how they'll appear in the toolbox, and how the properties 
will appear in the properties window. If the properties 
window doesn't support the desired functionality, it can be 
extended with custom popup dialog boxes and other UI 
tricks. Custom controls are easily distributed and can be 
enhanced with help documentation and licensing 
functionality, allowing them to be sold to other developers.
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 
  Re: What is the Difference between user and server controls?
Answer
# 2
1.server controls are dll's and placed in toolbox,
1.user controls are pages and it have an extexsion .ascx.
It does not placed in toolbox.
2.User controls are more simple to create
2. but custom controls are more simple to use.
 
Is This Answer Correct ?    0 Yes 0 No
Gupta
 
 
 
  Re: What is the Difference between user and server controls?
Answer
# 3
The main difference is that a seperate copy is generated of 
user controls whereas only single copy of custom control is 
shared.
 
Is This Answer Correct ?    0 Yes 0 No
Janardan Baghla
 
  Re: What is the Difference between user and server controls?
Answer
# 4
user controls executed on each user separately and at client
side only, where as custom controls executed on server side
and only one copy for any number of users
 
Is This Answer Correct ?    0 Yes 0 No
Satish
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
relacement of websevices in .net 3.0? Mind-Tree1
Which tab of the web site administration tool do you use to manage application setting ,debug and tracing?  2
What object is used to encapsulate a rowset? a) DataSet b) DataAdapter c) DataRowSet d) DataTable Syntax-Softtech2
Explain Assemblies?,Difference between Panel and GroupBox?,Differences between ASP and ASP.NET?  1
What command line used to generate Runtime callable wrapper. CTS2
what is difference between User Control,Custom Contro1,Web server control and template controls  1
If I'm developing an application that must accommodate multiple security levels though secure login and my ASP.NET web application is spanned across three web-servers (using round-robin load balancing) what would be the best approach to maintain login-in state for the users? Syntax-Softtech7
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process.  1
i want to develope a page for online test using asp.net with c#.net. so, how to insert the questions in the database sqlserver2000 and how to pick the questions randomly when user login for test. plz send the code for this.... TCS3
You have two buttons in web form and i clicked on one of the button, so how do i find which button i've clicked on the form in my page load? INDUS14
What is reflection and disadvantages of reflection? Microsoft3
I need to download file from web server, without using save as dialogue box. Can anyone help, thanks In advance.  1
What is gacutil.exe? Where do we store assemblies, Should sn.exe be used before gacutil.exe? Accenture2
Way of updating a table other than stored procedure and hard coded query?  2
hi ans dis qstn. "what is d max size of query string. If it exceeds does it give error. if yes wt error it gvs, if no gv the reason" thnx in advance  3
In a webpage if i want to give access to only half page ,then what should i do?  3
can we place the same DLL in debug folder two times? (without using strong name ) TCS7
How you will handle session when deploying application in more than a server? Describe session handling in a webfarm, how does it work and what are the limits? CoreObjects2
Which tools of web site Administartion tool do you use to manage user,roles and rules?  2
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com