This is working the way as designed. Note that these are sample adapters are designed to only use content attributes and ignore the style attributes of a control. As with the autoformatting with the GridView, it is just another way of defining style attributes
from your GridView.
So, you have several options:
<div mce_keep="true">You can create a CSS file that uses the predefined CSS classes and selectors as outlined in this
whitepaper</div>
<div mce_keep="true">You remove (or maybe comment out) the GridView control from the browser file, though you eliminate the use of this adapter</div>
<div mce_keep="true">You modify the underlying source for this adapter to allow for the style attributes to work, but you will then be defeating part of the purpose for using the adapter to begin with</div>
Christopher Reed, MCT, MCSD, MCPD, Microsoft Specialist, MTA, MCTS
"The oxen are slow, but the earth is patient."
Member
1 Points
12 Posts
CSS Friendly Adapters and Gridview autoformat
Jan 14, 2009 06:36 AM|shirish_padekar|LINK
Hi
I am using CSS Friendly Adapters.
I have included following in my project:
1.CSSFriendlyAdapters.browser in App_Browsers folder
2. CSSFriendly.dll in Bin folder
I have gridview for which I have selected AutoFormat scheme as 'Classic'
But when I run application AutoFormat scheme 'Classic' is not applied to gridview.
Star
13130 Points
4049 Posts
Re: CSS Friendly Adapters and Gridview autoformat
Jan 14, 2009 07:42 AM|Careed|LINK
This is working the way as designed. Note that these are sample adapters are designed to only use content attributes and ignore the style attributes of a control. As with the autoformatting with the GridView, it is just another way of defining style attributes from your GridView.
So, you have several options:
"The oxen are slow, but the earth is patient."