Difference Between ASP.NET Server Controls,HTML Server Controls and HTML Intrinsic Controls

Difference Between ASP.NET Server Controls,HTML Server Controls and HTML Intrinsic Controls

ASP.NET Server Controls
Advantages:

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

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

The HTML Server Controls follow the HTML-centric object model. Model similar to HTML
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.
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.
The HTML Server Controls have no mechanism of identifying the capabilities of the client browser accessing the current page.
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.

HTML Intrinsic Controls
Advantages: 1. Model similar to HTML 2. Here the controls can be made to interact with Client side scripting

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值