|
INTERVIEW QUESTIONS
MICROSOFT
DOTNET
DETAILS
Question: Briefly explain what user controls are and what server controls are and the differences between the two.
Answer: An ASP.NET control (sometimes called a server control) is a server-side component that is shipped with .NET Framework. A server control is a compiled DLL file and cannot be edited. It can, however, be manipulated through its public properties at design-time or runtime. It is possible to build a custom server control (sometimes called a custom control or composite control). (We will build these in part 2 of this article.) In contrast, a user control will consist of previously built server controls (called constituent controls when used within a user control). It has an interface that can be completely edited and changed. It can be manipulated at design-time and runtime via properties that you are responsible for creating. While there will be a multitude of controls for every possible function built by third-party vendors for ASP.NET, they will exist in the form of compiled server controls, as mentioned above. Custom server controls may be the .NET answer to ActiveX Web controls.
|
|
|
Category |
DotNet Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.3) By 8086 users |
Added on |
5/31/2011 |
Views |
74513 |
Rate it! |
|
|
Question:
Briefly explain what user controls are and what server controls are and the differences between the two.
Answer:
An ASP.NET control (sometimes called a server control) is a server-side component that is shipped with .NET Framework. A server control is a compiled DLL file and cannot be edited. It can, however, be manipulated through its public properties at design-time or runtime. It is possible to build a custom server control (sometimes called a custom control or composite control). (We will build these in part 2 of this article.) In contrast, a user control will consist of previously built server controls (called constituent controls when used within a user control). It has an interface that can be completely edited and changed. It can be manipulated at design-time and runtime via properties that you are responsible for creating. While there will be a multitude of controls for every possible function built by third-party vendors for ASP.NET, they will exist in the form of compiled server controls, as mentioned above. Custom server controls may be the .NET answer to ActiveX Web controls. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Briefly explain how server form post-back works (perhaps ask about view state as well).
|
View Answer
|
|
Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page. Briefly describe the role of global.asax.
|
View Answer
|
|
How would ASP and ASP.NET apps run at the same time on the same server?
|
View Answer
|
|
What are good ADO.NET object(s) to replace the ADO Recordset object.
|
View Answer
|
|
Can you give an example of when it would be appropriate to use a web service as opposed to a non-serviced .NET component
|
View Answer
|
|
Can you explain the difference between an ADO.NET Dataset and an ADO Recordset?
|
View Answer
|
|
Can you give an example of what might be best suited to place in the application_Start and Session_Start subroutines?
|
View Answer
|
|
What is .NET / .NET Framework?
|
View Answer
|
|
What is "Microsoft Intermediate Language" (MSIL)?
|
View Answer
|
|
What is "Common Language Runtime" (CLR)?
|
View Answer
|
|
What is "Common Type System" (CTS)?
|
View Answer
|
|
What is "Common Language Specification" (CLS)?
|
View Answer
|
|
What is a Web Service?
|
View Answer
|
|
What is an assembly?
|
View Answer
|
|
What are the Types of Assemblies?
|
View Answer
|
|
What is the difference between a namespace and assembly name?
|
View Answer
|
|
What is managed code and managed data?
|
View Answer
|
|
What is a Metadata?
|
View Answer
|
|
What is a Manifest?
|
View Answer
|
|
What is a Strong Name?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All DotNet Interview Questions & Answers - Exam Mode /
Learning Mode
|