GeekArticles
Database
SQL Server
Database
SQL ServerData Web Controls Enhancements in ASP.NET 4.0
<p>
Traditionally, developers using Web controls enjoyed increased productivity but at the cost of control over the rendered markup. For instance, many ASP.NET controls
automatically wrap their content in <code><table></code> for layout or styling purposes. This behavior runs counter to the web standards that have evolved over the past
several years, which favor cleaner, terser HTML; sparing use of tables; and <a Style Sheets (CSS)</a> for
layout and styling. Furthermore, the <code><table></code> elements and other automatically-added content makes it harder to both style the Web controls using CSS
and to work with the controls from client-side script.
</p><p>
One of the aims of ASP.NET version 4.0 is to give Web Form developers greater control over the markup rendered by Web controls. Last article,
<a Control Of Web Control <code>ClientID</code> Values in ASP.NET 4.0</a>, highlighted how new properties in ASP.NET 4.0
give the developer more say over how a Web <code>ID</code> property is translated into a client-side <code>id</code> attribute. In addition to these <code>ClientID</code>-related
properties, many Web controls in ASP.NET 4.0 include properties that allow the page developer to instruct the control to not emit extraneous markup, or to use an HTML element
other than <code><table></code>.
</p><p>
This article explores a number of enhancements made to the data Web controls in ASP.NET 4.0. As see, most of these enhancements give the developer greater control over
the rendered markup. Read on to learn more!
<br /><a More ></a></p>
Sponsored Links
Read Next: SQL Azure -- Relational Database in the Cloud - At Code Camp 13, Waltham Saturday March 27th at 4:2
Related Topics
Subscribe via RSS
SQL Server
- Naming Database Objects: Part II
- Trace Messages Part V: Trace Cleanup
- Naming Database Objects: Part I
- Multiple-Child Aggregation
- Creating SQL Tables for an Integrating Application Using Dexterity
- SQL Server 2005 Beta 2 Transact-SQL Enhancements
- .NET Rocks! - Brian Larson on SQL Server Reporting Services
- Computing the Trimmed Mean in SQL
- SQL Server 2000 Gains on Oracle
- Separator First Formatting (SFF)
