Answered by:
Uninstalling CSS Friendly Adapters?

Question
-
User224181609 posted
I installed the adapters using the following steps:
1. Opened my site in VWD 2008, added the cssfriendly.dll to the bin folder, added CSSFriendlyAdapters.browser file to the App_Browsers folder
2. Right clicked on the website name / Add Reference and browsed to and selected the .dll file
Then when I previewed my website pages, none of the contols have the formatting I originally put to them. The code for the controls has not changed, but they dont render the way they did before I added the adapters.
I dont want to re-do all the controls. I expected the controls to render the way they were until I went to modify them.
Have I done something wrong? Is there some way to disable the adapters?
Can I uninstall the adapters? Would removing the .browser and .dll files accomplish that?
Wednesday, May 27, 2009 8:39 AM
Answers
-
User1485238302 posted
Unless specified otherwise, the control adapters will be used.
You have two options:
1. Disable the adapter for a specific type of control in the browser file. Just comment out the one you don't want, for example, disable adapter for GridView type:
<!--<adapter controlType="System.Web.UI.WebControls.GridView" adapterType="CSSFriendly.GridViewAdapter" />-->
2. Your other option is to disable it for one specific control by using AdapterEnabled="false".
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, May 27, 2009 8:54 AM
All replies
-
User1485238302 posted
Unless specified otherwise, the control adapters will be used.
You have two options:
1. Disable the adapter for a specific type of control in the browser file. Just comment out the one you don't want, for example, disable adapter for GridView type:
<!--<adapter controlType="System.Web.UI.WebControls.GridView" adapterType="CSSFriendly.GridViewAdapter" />-->
2. Your other option is to disable it for one specific control by using AdapterEnabled="false".
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, May 27, 2009 8:54 AM -
User224181609 posted
Great!! Thank you. Now I can relax and work on one of them at a time !!
Wednesday, May 27, 2009 9:04 AM -
User1485238302 posted
You are welcome!
Wednesday, May 27, 2009 9:08 AM