What are user controls and custom controls ?



What are user controls and custom controls ?..

Answer / bhim bharti

Custom controls:
A control authored by a user or a third-party software vendor that does not belong to the .NET Framework class library. This is a generic term that includes user controls. A custom server control is used in Web Forms (ASP.NET pages). A custom client control is used in Windows Forms applications.

User Controls:
In ASP.NET: A user-authored server control that enables an ASP.NET page to be re-used as a server control. An ASP.NET user control is authored declaratively and persisted as a text file with an .ascx extension. The ASP.NET page framework compiles a user control on the fly to a class that derives from the System.Web.UI.UserControl class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Can we make activex dll also ti execute in some process as that of client ? How can we do?

0 Answers   DELL, Zerone,


Describe how passport authentication works.

0 Answers  


What is the use of asp.net web api?

0 Answers  


What are the event handlers that we can have in global.asax file?

0 Answers  


What is use of <% %> in asp.net?

0 Answers  






How are sessions stored?

0 Answers  


In what languages in ASP written?

4 Answers   Microsoft,


What is considered a service provider?

0 Answers  


What is the purpose of master page?

0 Answers  


Why asp.net is better than php?

0 Answers  


how many select state ments are used in stored procedure?

8 Answers   CSC,


How many view state can be hold by a aspx page ?

3 Answers   Intellevate,


Categories