What are the other UI related enhancements in asp.net 4.0?

Saturday, December 19, 2009


1. Better support to Web standards and Accessibility.
2. Better attribute values(boolean) for controls with Disabled attribute.
3. In-line css support for validation controls.
4. CSS for the Hidden Fields Div Element.
5. CSS and UI related to many other controls


www.codecollege.NET

What is the name of the new control added to asp.net 4.0 for filtering data?


QueryExtender Control.


www.codecollege.NET

What is the use of RenderOuterTable property in FormView control of asp.net 4.0 ?


It makes the CSS styling in the FormView control easier.


www.codecollege.NET

What is the PersistedSelection in a gridview newly introduced in asp.net 4.0?


It is a new attribute which makes the selected row in a gridview persistable between navigation between pages in a gridview.


www.codecollege.NET

What are the 3 algorithms used to generate clientIds in asp.net 4.0?


1. AutoID.algorithm
2. Static algorithm
3. Predictable algorithm


www.codecollege.NET

What is the use of new ClientIDMode property in asp.net 4.0?


It makes client-side script accessing asp.net server controls rendered as html controls.


www.codecollege.NET

How will you set the Incredible Shrinking Session State in asp.net 4.0?


Using the compressionEnabled config entry.


www.codecollege.NET

What is Incredible Shrinking Session State in asp.net 4.0?


It a feature which compresses session states in StateServer and SQL Server modes of session storage.


www.codecollege.NET

What is the use of RedirectPermanent?


It solves the permanently moved related issues.


www.codecollege.NET

Apart from Response.Redirect and Server.Transfer what is new in asp.net 4.0?


RedirectPermanent.


www.codecollege.NET

In what way is output-caching extensible?


It allows to cofigure custom output-cache providers.


www.codecollege.NET

What new enhancement was done to output cahcing in asp.net 4.0?


Output cahcing was made as extensible.


www.codecollege.NET

Using which attribute will you make the transformation in the web.config file of asp.net 4.0?


xdt:Transform="Replace"


www.codecollege.NET

What is the expansion of XDT?


XML Document Transform (XDT),is the feature that lets you transform a Web.config file.


www.codecollege.NET

How visual studio 2010 implements Web.Config Transformation?


using XDT.


www.codecollege.NET

What is Web.Config Transformation in visual studio 2010?


It transforms web.config from development environment to production environment.


www.codecollege.NET

What is called as a Web package in asp.net 4.0?


The compressed file created for your application using MSDeploy tool.


www.codecollege.NET

Which tool is used by visual studio 2010 to create zipped files?


MSDeploy tool .


www.codecollege.NET

What enhancement was done to Dynamic Data in asp.net 4.0 ?


Feature to build quick dynamic data websites.


www.codecollege.NET

Does asp.net 4.0 supports Dynamic Data ?


Yes.


www.codecollege.NET

How will you set the Backward Compatibility feature in asp.net 4.0?


You need make the following change to the web.config ,
<system.web>
<pages controlRenderingCompatibilityVersion="3.0"/>
</system.web>


www.codecollege.NET

What is the new feature introduced in redering in asp.net 4.0?


The new feature is to have Backward Compatibility in Control Rendering.


www.codecollege.NET

What is the class that you use when you define Routes?


The PageRouteHandler class .


www.codecollege.NET

What is the advantage of Routing?


It makes your site more user-friendly and your site content more discoverable by search engines.


www.codecollege.NET

Does ASP.NET 4.0 adds built-in support for routing with Web Forms?


Yes.


www.codecollege.NET

Explain What is browser capabilities providers?


It lets you build a provider that in turn lets you write custom code to determine browser capabilities.


www.codecollege.NET

What is the New Way to Define Browser Capabilities in asp.net 4.0?


It is browser capabilities providers.


www.codecollege.NET

Where is the browser capabilities object stored in asp.net?


HttpRequest.Browser property


www.codecollege.NET

How will you detect a browser's capabilities in asp.net?


using HttpBrowserCapabilities object .


www.codecollege.NET

How will you set the meta tag description for a page in asp.net 4.0?


using Page.MetaDescription


www.codecollege.NET

How will you set the meta keywords for a page in asp.net 4.0?


using Page.MetaKeywords.


www.codecollege.NET

What are the 2 properties added to the Page class for meta tags in asp.net 4.0?


1. Page.MetaKeywords
2. Page.MetaDescription


www.codecollege.NET

How will you make an application auto-startable in asp.net 4.0?


To use the auto-start feature, an IIS administrator sets an application pool in IIS 7.5 to be automatically started by using the following configuration in the

applicationHost.config file:






www.codecollege.NET

LinkWithin

Blog Widget by LinkWithin

Recommended Books