New Features of Dot Net Framework 4.0
New Features of Dot Net Framework 4.0
1.ViewStateMode tag is newly introduced in Page directive of ASP.Net.It will allow us to disabled ViewState at Page level and we can enable at specific control level to improve the performance.It has 3 values
- Disabled :- View state will be turned off.
- Enabled :- View state will be turned on.
- Inherit :- Inherit the value of ViewStateMode from the parent control.
2.MetaDescription and MetaKeywords are added to Page directive which is used by google and other search engine website to achieve SEO(Search Engine Optimization).
3.Response.RedirectPermanent:-
Response.Redirect will move to page temperorily by returning status code 302 but if use Response.RedirectPermanent will move permanently by returning status code 301.
4.EnablePersistedSelection:-
EnablePersistedSelection is added to gridview and list view of 4.0 it is used in conjuction with Paging.If the user select a second row and used pagination it will not allow the second page with second row selected.
5.QueryExtender:-
QueryExtender is included in 4.0 which will worked in conjunction with EntityDataSource and LINQDataSource which will filter the result such as search,range and custom also.







No Comments