What are user controls and custom controls ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between debug and release?

761


What tags do you need to add within the asp:datagrid tags to bind columns manually? Give an example.

851


How you will improve web application performance?

771


What are triggers of an updatepanel?

755


Where is the session stored?

881


How can we add an event handler for a ASP.NET function executed on MouseOver for a certain button.

889


What is the differences between a primary key and a unique key in sql server?

812


What is base class of .net?

767


Explain the features that make asp.net more used framework? : asp.net mvc

728


What are the namespace classes used in asp.net mvc? : asp.net mvc

806


Which is better session or viewstate?

729


How should I destroy my objects in asp.net?

833


Why web api is better than wcf?

824


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

827


What is httpresponse?

750