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

What are the differences between primary foreign and unique keys?

0 Answers  


Explain how does asp page work?

0 Answers  


What is wrong with a line like this? DateTime.Parse(myString)

5 Answers   Metasys,


What are validators and list some validators of asp.net?

0 Answers  


Explain the difference between or and orelse?

0 Answers  






What’s difference between “optimistic” and “pessimistic” locking?

0 Answers  


what are the application layers for a distribute application?

0 Answers   Mind Tree,


What method do you use to explicitly kill a users session?

2 Answers   Siebel Systems,


In which situation can you not use a viewstate?

0 Answers  


What is the difference between localization and globalization?

0 Answers  


Explain client-side scripting?

0 Answers  


How Response.flush works in server.Execute

1 Answers  


Categories