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

benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1868


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

771


What is the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc

774


What is difference between session and cookies?

775


Explain how is the asp.net mvc architecture different from others? : asp.net mvc

727


Describe the disadvantage of cookies.

785


Explain client side state management system.

747


Which object encapsulates state or data of a user?

844


Which is better session or viewstate?

709


How tooltip is set through code-behind in ASP.NET?

840


Explain how asp.net different from asp?

838


What is difference between datalist and gridview?

794


Explain the use of fragment caching.

856


How can we apply themes to an asp.net application?

772


Define secured sockets layer.

710