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

Explain the difference between array and linkedlist?

524


there is two functions function a and function b like fun a(){.... ..... } fun b() { } in function b i write the coding to add two numbers and i need to dispaly the sum result in function a with out using global variable. how we do?

2223


What is the difference between dispose() and finalize()?

495


What is a viewstate?

568


How do you sign out from forms authentication?

557






What are the different methods of session maintenance in asp.net?

537


How can you ensure a permanent cookie?

551


What are sessions and cookies?

565


Where viewstate value is stored in asp.net?

593


Are xaml file compiled or built on runtime?

557


What are the various types of validation controls provided by asp.net?

540


What is AutoPostback?

596


Explain what the contents of cookie?

590


Why will you usually create an aspnet user account in the database for an asp.net web application?

537


Differences between “dataset” and “datareader”.

560