GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet
Go To First  |  Previous Question  |  Next Question 
 DotNet  |  Question 54 of 165    Print  
Briefly explain what user controls are and what server controls are and the differences between the two.

  
Total Answers and Comments: 2 Last Update: January 16, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 11, 2005 03:43:57   #1  
Sasidar        

RE: Briefly explain what user controls are and what server controls are and the differences between the ...
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.


 
Is this answer useful? Yes | No
January 16, 2006 06:32:10   #2  
samiksc Member Since: October 2005   Contribution: 233    

RE: Briefly explain what user controls are and what se...

A server side control is a built in control provided by .Net framework class libraries. This control may be placed on a web form and all its events are handled on the server.

A user control is a .ascx file created by a developer to combine built in controls to form a new control which will be required frequently for a web site developement. This file contains a '@control' directive at the top. This file can be included in other .aspx files using @Register directive.


 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : Server-side code: 1. Code is written in VB, C# or other compiled languages. 2. Code is executed by the server during a roundtrip in response to a user request or action. 3. The server executes server side code and returns HTML code to the client ...

Latest Answer : C# ...

Latest Answer : Another reason to consider server validation is a synchronization issue.Say I want to book a ticket tomorrow for the cinema. Even if the application brings all necessary information for validation, meaning both the date format and all available dates ...

Latest Answer : In ADO, the in-memory representation of data is the recordset. In ADO.NET, it is the dataset. There are important differences between them. A recordset looks like a single table. If a recordset is to contain data from multiple database tables, ...

Latest Answer : Diffgram is the XML format which is used to identify the current and orginal version. ...

Latest Answer : Inheritance means able to inherete the class from base class. The inherete class called derived class.The main advantage of the inheritance if any modification done origanl class safe.This is for reusable. ...

Latest Answer : The Abandon method destroys all the objects stored in a Session object and releases their resources.If you do not call the Abandon method explicitly, the server destroys these objects when the session times out.Syntax: Session.Abandon ...

Latest Answer : The process of deriving a new class from an existing class is called Inheritance.   The old class is called the base class and the new class is called derived class.  The derived class inherits some or everything of the base class.  In ...

Which method do you use to redirect the user to another page without performing a round trip to the client?

Which control would you use if you needed to make sure the values in two different controls matched?


 Sponsored Links

 
Related Articles

SQL Server 2005 Integration Services Review

SQL Server 2005 Integration Services using Visual Studio 2005 A Beginner s Guide SQL Server 2005 A offering of Microsoft Corporation for database management the SQL server 2005 is one of the powerful database management systems in the world Available for integration in almost any system that uses Mi
 

SQL Server Integration Services

SQL Server Integration Services Here is a sample chapter from Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 by Jayaram Krishnaswamy Environment set up for Visual Studio 2005 with respect to SSIS and multiple tasking Connecting to Microsoft Access Text Files Excel S
 

Web Server

Web Server A web server can be a program or the computer itself which receives the requests from various other browsers and responds to those requests These requests are all requests that are being sent for some documents There are two kinds of web servers available The web server program and the
 

Client-Server Models and N-Tier Applications

Client Server Models and N Tier Applications One of principal objective of Client Server methods is to provide data to an end user However Client Server architectural methodologies are much more complex Client Server describes the process wherein a client program generates contact with a separate se
 

Java and Client Server Models

Java and Client Server Models The Role of Client Servers on the Web Client server models provide the essential mechanisms for working with the Internet In fact most of the World Wide Web is built according to this paradigm In client server models the web browsers run by millions of users are the cli
 

Web Services and Client Server Technology

Web Services and Client Server Technology Introduction to Distributed Computing The Internet and expanded network connectivity established client sever models as the preferred form of distributed computing When talking about Client Server models of networked communication using web services the broa
 

Object-Oriented Client-Server Internet

Object Oriented Client Server Internet OCSI Environments as IT Infrastructure Client Server Basics Object Oriented Client Server Internet OCSI environments provide the IT infrastructure for supporting OCSI applications For our purposes infrastructure refers to operating systems networks middleware
 

N-Tier Client-Server Architecture

N Tier Client Server Architecture Description of 1 Tier and 2 Tier Web Applications This article will discuss the various architectures of Client Server environments Perhaps the most influential Client Server environment is the Internet and its global users With the increasing use of web application
 

What are the differences between stored procedures and triggers?

Stored procedures are compiled collection of programs or SQL statements that live in the database. A stored procedure can access and modify data present in many tables. Also a stored procedure is not associated with any particular database object. But triggers are event-driven special procedures whi
 

Explain about TNSPING

You can also use tnsping utility on command prompt to check Oracle Net connectivity. Follow these steps to check the connection to particular SID. Open Command prompt. Write tnsping < SID for the database connectivity you want to check > If you get the message “Used TNSNAMES
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape