开发者

GridView styling (CSS classes) disappears

开发者 https://www.devze.com 2022-12-20 23:54 出处:网络
I\'m migrating a large number of stand-alone pages into content pages.Most of thi开发者_Go百科s involves little more than copying and pasting a GridView from one page into the new page.However, I find

I'm migrating a large number of stand-alone pages into content pages. Most of thi开发者_Go百科s involves little more than copying and pasting a GridView from one page into the new page. However, I find that styling disappears in the new project, i.e. the styles (as classes) are still present in the stylesheet, but these classes are no longer applied to GridView table elements.

Example, in the old project, once a table is rendered by the GridView, its header row has a class of HeaderStyle, but in the new project this is lost, without any editing of the GridView. Is there some mysterious, built-in mechanism that automatically applies these attributes to GridView elements that I have somehow disabled?


It seems to me that you should check your themes and skins for old application and new one. Here is a link to msdn with description of themes and skins.

0

精彩评论

暂无评论...
验证码 换一张
取 消