what is the difference b/w Asp.net server controls and html
server controls in .net?

Answer Posted / rameshp

ASP.Net Server Controls:

1. ASP .NET Server Controls can 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 is written in the Server Controls.

2. Newer set of controls that can be used in the same
manner as any HTML control like Calender controls. Without
any need of Activex Control without bringing 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.


HTML Server Controls:

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. A HTML Server Control has similar abstraction with its
corresponding HTML tag and offers no abstraction.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain managed code an un-managed code.

599


How many types of server controls do we have?Also explain differance between them taking an example of ASP.NET?

2366


Give 2 examples for scenarios when routing is not applied?

603


What is asp net objects?

525


Explain the concept of MVC Scaffolding?

595






What is the difference between typeof() vs gettype()?

556


How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?

551


Explain difference between dataset and datareader?

604


Explain the reason why the javascript validation not run on the asp.net button but run successfully on the html button?

577


Why is the standalone environment only useful during the development process?

1343


What is difference between session and application in asp net?

492


What are client activated objects?

559


Suppose you want an asp.net function (client side) executed on the mouseover event of a button. Where do you add an event handler?

567


Explain the difference between webfarm and webgardens in .net?

543


What is odata in web api?

566