Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

WHT IS DIFFERENCES BETWEEN HTML CONTROLS AND SERVER CONTROLS.

Answer Posted / nagaraj

ASP.NET Server Controls
Advantages:

1. ASP .NET Server Controls can however detect the target
browser's capabilities and render themselves accordingly.
No issues for compatibility issues of Browsers i.e page
that might be used by both HTML 3.2 and HTML 4.0 browsers
code to be written by you.
2. Newer set of controls that can be used in the same
manner as any HTMl control like Calender controls. (No need
of Activex Control for doing this which would then bring up
issues of Browser compatibility).
3. Processing would be done at the server side. In built
functionality to check for few values(with Validation
controls) so no need to choose between scripting language
which would be incompatible with few browsers.
4. ASP .NET Server Controls have an object model different
from the traditional HTML and even provide a set of
properties and methods that can change the outlook and
behavior of the controls.
5. ASP .NET Server Controls have higher level of
abstraction. An output of an ASP .NET server control can be
the result of many HTML tags that combine together to
produce that control and its events.


Disadvantages:

1. The control of the code is inbuilt with the web server
controls so you have no much of direct control on these
controls
2. Migration of ASP to any ASP.NET application is
difficult. Its equivalent to rewriting your new application
HTML Server Controls
Advantages:

1. The HTML Server Controls follow the HTML-centric object
model. Model similar to HTML
2. Here the controls can be made to interact with Client
side scripting. Processing would be done at client as well
as server depending on your code.
3. Migration of the ASP project thought not very easy can
be done by giving each intrinsic HTML control a runat =
server to make it HTML Server side control.
4. The HTML Server Controls have no mechanism of
identifying the capabilities of the client browser
accessing the current page.
5. A HTML Server Control has similar abstraction with its
corresponding HTML tag and offers no abstraction.

Disadvantages:
1. You would need to code for the browser compatibility.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the good practice to implement validations in aspx page?

1041


Explain how do you validate the controls in an asp .net page?

871


How is a session stored and maintained in asp.net?

956


Is asp.net 64-bit enabled? How?

1018


how can create login from create and written conde in asp.net

2362


What is full form of asp.net?

961


What is the advantage of using Windows authentication in a Web application?

1050


How does a content page differ from a master page?

998


What are the uses of reflection?

1011


How will you load dynamic assembly? How will create assesblies at run time?

892


What is the use of response redirect in asp.net?

1015


What is the difference between application state and session state in asp net?

998


How to find out what version of asp.net I am using on my machine?

1057


What r the asp.net list controls and difference between them?

980


In Data grid the question is below quantity price total these are 3 fields available in data grid if you enter quantity the total has to update automatically.Price field is already filled completely

1956