Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is customer control and user control?



What is customer control and user control?..

Answer / gangadhar

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 ?    16 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How do you associate two or more validators with a single input control? What do you need to do to prevent space from being reserved for a validation control thatpasses its validation test?

1 Answers  


Disable browser cache for entire ASP.NET website?

0 Answers   HCL,


What is CLR ? Differentiate between CLR & CTS.

7 Answers   3i Infotech, TCS,


What are the different validators in asp.net?

0 Answers  


Define xmlvalidatingreader class.

0 Answers  


Explain which is best suited place in the Application Start and Session_Start subroutines with an example?

3 Answers   Siebel,


What is http post action?

0 Answers  


What are cookies in asp.net?

0 Answers  


I have one application, one user purchase some products in my application? and another person came he is also purchase some products?how can we identify which user purchase which items? my answer is by using session id? but i dont know how? can u give me programming for that?

1 Answers  


Breifly explain about stack and heap memory Managemet?

2 Answers  


Explain the difference between codebehind="mycode.aspx.cs" and src="mycode.aspx.cs"?

0 Answers  


What is preprocessor in .net and type, where it use?

0 Answers  


Categories