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

Describe the diffeerence between inline and code behind - which is best in a loosely coupled solution?

736


List all templates of the repeater control.

654


What is the purpose of session management?

597


How can you access the properties and controls of master pages from content pages?

620


Which is better session or viewstate?

591






What is difference between asp.net and asp?

642


How does ASP.NET framework maps client side events to Server side events.?

639


How many types of sessions in asp.net?

680


how to retrieve property settings from xml .config file.

634


What is an il?

639


How can we register exception filter from the action?

753


What kind of data we can store in viewstate?

680


What is Razor View Engine

699


What is a web api?

644


What are sql notifications and sql invalidations?

610