Geeks With Blogs
Mayank Sharma

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.

 

Posted on Wednesday, May 27, 2009 1:12 AM ASP.NET | Back to top


Comments on this post: Disable CSS Friendly Adapters

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © bullpit | Powered by: GeeksWithBlogs.net