GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 131 of 164    Print  
What is the difference between custom web user control and a custom web server control?

  
Total Answers and Comments: 2 Last Update: October 21, 2009     Asked by: Zia 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: vikasvaidya
 
A custom web server control is created by modifying the properties of existing control while custom web user control is mostly a complex control (consists of several controls).
A custom web server control is stored as an assembly which can be added to toolbar and a single can be shared by multiple applications while a custom web user control is only stored like a form (win or web) with extension .ascx. It can be added to toolbar and each project accessing a custom server control needs a separate copy of it.  In code behind of a custom web server control we have to override the Render(HtmlTextWriter output) method

Hope this would help
you?

Above answer was rated as good by the following members:
Ag2703
August 12, 2007 18:21:00   #1  
vikasvaidya Member Since: June 2007   Contribution: 64    

RE: What is the difference between custom web user con...
A custom web server control is created by modifying the properties of existing control while custom web user control is mostly a complex control (consists of several controls).
A custom web server control is stored as an assembly which can be added to toolbar and a single can be shared by multiple applications while a custom web user control is only stored like a form (win or web) with extension .ascx. It can be added to toolbar and each project accessing a custom server control needs a separate copy of it. In code behind of a custom web server control we have to override the Render(HtmlTextWriter output) method

Hope this would help
you?

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
October 21, 2009 05:03:51   #2  
kirangiet Member Since: June 2009   Contribution: 24    

RE: What is the difference between custom web user control and a custom web server control?
Web User Control:
1) Easy to Create.
2) It Can be used inside the same Application.(To use it in other application we need to add it to that project.)
3) It Can take advantage of Caching Technique.

Web Server Control:
1) Bit tuff to create as compare to User Control.
2) Easy to use.
3) Can be added to ToolBox.

 
Is this answer useful? Yes | No

 Related Questions

By default the ASP.Net app runs in the context of a local user ASPNet on IIS version 5. On IIS version 6 on windows 2003 it is called Network service 
Latest Answer : ASPNET is the account name for the asp.net application running on IIS 5.0. ...

Latest Answer : we can use the ExecuteNonQuery to perform catalog operations (Insert,Delete,Update) ExecuteNonQuery does not return any rows, any output parameters or return values mapped to parameters are populated with data. executeQuery() is for command objects ...

Latest Answer : ExecuteReader expects to run a query command or a stored procedure that selects records. It expects to have one or more resultsets to return. cmd.Connection.Open(); SqlDataReader dr = cmd.ExecuteReader(); // process ...

Latest Answer : Datagid is a control which is used to display the attribute data at client side.Datareader is a object which is mainly used to store the data executed query data. ...

Latest Answer : Assemblies?Assemblies contains code that the common language runtime executes,An assembly is the unit at which permissions are requested and grantedIt also stores the information about itself called metadata and includes name and verison of the assembly ...

When opening a project file explicitly open it from an existing virtual directory. 
Latest Answer : Create virtual  directory of your website. Than access that website directly from IIS, using  localhost. This is what we do when we delpoy the application on client end when the client has no VStudio installed. ...
Read Answers (2) | Asked by : bicu

Authentication is the process of validating a user on the credentials (username and password) and authorization performs after authentication. After Authentication a user will be verified for performing 
Latest Answer : Authentication is just like access card for entering inside company. Authorization is doing other works inside the company. ...
Read Answers (5) | Asked by : sanker

What are different properties provided by Object-oriented systems ? Can you explain different properties of Object Oriented Systems? Whats difference between Association , Aggregation and Inheritance relationships?
Read Answers (1) | Asked by : sanker

The .NET Framework has two main components: the common language runtime and the .NET Framework class library.You can think of the runtime as an agent that manages code at execution time, providing core 
Latest Answer : .NET framework consists of 1) CLR 2) Class library 3) ASP.Net CLR (Common Language Runtime): The name itself gives you an idea what CLR is. RUNTIME can be described as a reduced version of a program.  It enables you to Execute the program ...
Read Answers (2) | Asked by : rajani

Latest Answer : The MACHINE.config file contains default and machnine-specific values for all supported setting. Machine setting are normally controlled by the system admin, and app should never be given write access to it.An application can override most default values ...


 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
 

High Level Data Link Control (HDLC)

High Level Data Link Control HDLC The High Level Data Link Control protocol was developed by the International Organization for Standardization ISO It is used for switched and non switched networks and is a bit oriented architecture The High Level Data Link Control has been accepted and used widel
 

Synchronous Data Link Control (SDLC)

Synchronous Data Link Control SDLC The SDLC or the Synchronous Data Link Control was first developed by IBM It is basically a linked layer protocol which can be used with systems network architecture or the SNA environment In this system all the functions in a network can be defined and slotted into
 

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
 

ERP Operation and Control

ERP Operation and Control The selection of the most suitable management system is it a difficult decision to make but once it is decided the next step is the operation and maintenance of ERP It is necessary to know well all the capacities and abilities in order to exploit the system to its fullest e
 

ERP Systems as Quality Control Support

ERP Systems as Quality Control Support For the past few years ERP systems have became one of the most powerful tools for quality control management But ERP is just an informatics system that provides support to the integrated business management mosgoogle center Goals of the Quality Control Module i
 

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
 

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