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 65 of 164    Print  
why we need both server controls and html controls in asp.net. what is the difference between them?

  
Total Answers and Comments: 2 Last Update: April 25, 2009     Asked by: jacintha 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
July 24, 2006 02:31:29   #1  
Anilkumar Mantena        

RE: why we need both server controls and html controls...

HTML Server Controls:

This controls will follow similar syntax of html client side controls with the same set of properties (with runat server attribute). The purpose of this HTML Server controls is towards migration projects. And this HTML Server Controls doesn't support extensibility.

Web Server Controls:

These are very advanced controls if compared to HTML Controls. These controls overcome the extensibility problem which araises in HTML Server Controls. These controls are also called as Smart Controls because these controls will produce HTML context based on reuested browser.

These Controls also supports data binding and xml based syntax with .net object model.


 
Is this answer useful? Yes | No
April 24, 2009 14:00:25   #2  
aanand_agrawal Member Since: April 2009   Contribution: 8    

RE: why we need both server controls and html controls in asp.net. what is the difference between them?
We require HTML Control in some of circumstances:

1) Migrating Project from ASP to ASP.NET u just need to add Runat Server and ID XYZ so
you do not need to make big changes to current project

2) If you have use frequently Client side JavaScripts

Disadvantage of HTML Control

1 ) HTML Control don't have a programming model that consist with WinForm Programming

E.g: HTML TextboxControl :: Value Property
ServerControl TextboxControl :: Text Property

2) HTML server control directly map to a single html tag.

Thanks


 
Is this answer useful? Yes | No

 Related Questions

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

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

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 ...

What is the difference between Session and Cookies. Can we use both in the same webpage. when we should go for cookies.. What are the advantages and disadvantages of both.. Plz send me code also..Thanks in advance..Ravi
Read Answers (2) | Asked by : aspnet

1. What is the core difference between ASP and ASP.NET and why do you want to migrate from asp to asp.net2. What is the diff b/w HTML server Controls and Web Server Controls3. How sessions are handled in ASP Vs ASP.NET4. How versions are controlled in ASP Vs ASP.NET5. Explain the concurrency problems using DATASETS6. what is XSD and XSLT. what is XML and what are the types of XML7. What are web services
Read Answers (3) | Asked by : mak1600

How do you know what version of IIS is being used by server..I mean can a client know what version of IIS is being used? or how can I know what version of IIS is being used by my hosting company?
Read Answers (3) | Asked by : mak1600


 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 is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

Language Enhancements in SQL Server 2005

The T-SQL has been enhanced to include error handling, recursive query and to support the new database engine capabilities. Two new relational operators have been introduced—PIVOT and UNPIVOT for use in the FORM clause query. They perform manipulation on an input table valued expression an
 

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