posts - 25, comments - 21, trackbacks - 0

My Links

News

Archives

Post Categories

Disable CSS Friendly Adapters

There are two ways to disable the CSS Friendly Adapters in ASP.NET:

1. In the Browser file
    Adapters for a specific control type can be disabled by just commenting out (deleting) the type of control adapter in the browser file. The effect is global and will affect all the controls of this type.

For examle, to disable the adapter for GridView type: 

<!--<adapter controlType="System.Web.UI.WebControls.GridView"
               adapterType="CSSFriendly.GridViewAdapter" />-->

 2. At the control level
      Adapter can be disabled for a specific control in the control definition in aspx file by specifying AdapterEnabled="false" property. The effect is local and will only affect the control for which it is specified.

 

Print | posted on Wednesday, May 27, 2009 1:12 AM | Filed Under [ ASP.NET ]

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: