Last post May 27, 2009 09:08 AM by bullpit
May 27, 2009 08:39 AM|ClarkNK|LINK
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?
May 27, 2009 08:54 AM|bullpit|LINK
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:
2. Your other option is to disable it for one specific control by using AdapterEnabled="false".
May 27, 2009 09:04 AM|ClarkNK|LINK
Great!! Thank you. Now I can relax and work on one of them at a time !!
May 27, 2009 09:08 AM|bullpit|LINK
You are welcome!