Filtering data in data driven web pages traditionally has been performed by building Where clauses in data source controls. his approach can be complicated, and in some cases the Where syntax does not let you take advantage of the full functionality of the underlying database.
To make filtering easier, a new QueryExtender control has been added in ASP.NET 4. This control can be added to EntityDataSource or LinqDataSource controls in order to filter the data returned by these controls. Because the QueryExtender control relies on LINQ, but you do not to need to know how to write LINQ queries to use the query extender.
Variety of filtering Expression options are supported.
- SearchExpression
- RangeExpression
- PropertyExpression
- OrderByExpression
- CustomExpression
- DisabledCssClass property.
- CSS for validation controls
- CSS for the Hidden Fields Div Element
- CSS for the Table, Image, and ImageButton Controls
- CSS for the UpdatePanel and UpdateProgress Controls
- CSS and ARIA Support for the Menu Control
ASP.NET Chart Control
Others
There are many more inclusions are there in .NET 4.0 like
- Major enhancements in Dynamic Data (introduced in 3.5)
- Enabling Dynamic Data for Individual Data-Bound Controls in Existing Web Applications
- Declarative DynamicDataManager Control Syntax
- Entity Templates - which offer way to customize data
- New built-in field templates, EmailAddress.ascx and Url.ascx
- Creating Links with the DynamicHyperLink Control
- Support for Inheritance in the Data Model
- Support for Many-to-Many Relationships (Entity Framework Only)
- New Attributes to Control Display and Support Enumerations
- Enhanced Support for Filters
lot more to explore.....
No comments:
Post a Comment