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                      
tip   SiteMap shows list of All Categories in this site.
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 customer control and user control?
 Question Submitted By :: Dilip12
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is customer control and user control?
Answer
# 1
Custom controls are controls that are developed by the 
developer
or a third party vendor. Custom controls are not provided 
along with 
.NET. 

Difference between Custom Controls and User Controls.

1.User Control is a page file with extension .ascx which 
can only be used within
a single application. But custom controls are assemblies
(dll files) that can be 
used in multiple applications.

2.User Controls cannot be added to the ToolBox of VS.NET . 
To use a user Control with in an
aspx page u have to drag the user Control from the solution 
Explorer to designer page.
But Custom Controls can be added to ToolBox of VS.NET.

3.User Controls can be viewed as a sort of generic controls 
during the design time.
The proper GUI of user controls can be viewed only during 
the run time.
But Custom Controls can be viewed during the design time.

4. User controls are created from existing Webserver and 
html server controls .
But a developer who creates custom controls have to render 
every thing from the scratch.

5.Since the dll assembly of a custom control is being 
used,a custom control developed in C# can be used in a 
project developed in VB.NET or any other managed code and 
vice versa.
This is not possible with user controls.They are language 
spefic

We cannot give any examples for custom controls since they 
are developed either by a developer of a third party vendor.
 
Is This Answer Correct ?    7 Yes 0 No
Gangadhar
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
What is the difference between ExecuteReader,ExecuteNonQuery and ExecuteScalar.  3
Interface have Default Modifier Is 'Public'.Where We Will Use The KeyWord In Interface? Phoenix-Technologies3
How would you get ASP.NET running in Apache web servers - why would you even do this?  1
How do you set language in web.cofig ? Keane-India-Ltd3
What is deff. saop and disco?  1
What is WebService ? Tanla-Solutions6
Types of caching. How to implement caching? Microsoft2
How to change the form layout in ASp.net 2.0 ? Netsweeper1
Asp.net and asp ? differences?  2
What property must you set, and what method must you call in your code, in order to bind the data from a data source to the Repeater control?  1
what is strong name? Microsoft2
Could u send me the answer for this question as soon as possible. Im using 'System.net.mail.mailmessage' namespace for sending a mail from my application. What should I mention in 'system.net.mail.mailmessage.to' property and What should I mention in 'system.net.mail.mailmessage.from' property.  1
1. Briefly describe your ideal job? Swatz-Oils1
Derive WSDL?  6
repeater and gridview diff? Why is repeater fast than gridview? TCS2
Which two properties are there on every validation control?  2
Differentiate session and cookie  1
How to set/get parent page values in child page in asp.net Wipro3
In C#.net application is run on linux michine  3
Explain the functionality of "EnableViewState" ? What happens if you want it on or off?  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