This is a migrated thread and some comments may be shown as answers.

RadGrid Style is missing

3 Answers 112 Views
Grid
This is a migrated thread and some comments may be shown as answers.
El
Top achievements
Rank 1
El asked on 06 Dec 2010, 02:54 AM
I have a master page, then i have a content page that hosts a RadTabStrip and RadMultiPage. I load some user controls inside the multipage (on demand). In one of the user controls i have a radGrid that looks fine in Firefox (http://www.telerik.com/ClientsFiles/235428_ff.jpg) and other browser but in IE it looks like on the picture below:
http://www.telerik.com/ClientsFiles/235429_ie.jpg

Is it bug or what?

The ASP.NET code looks like following:

<telerik:RadGrid ID="RadGrid1" runat="server" Skin="Windows7"
        AllowAutomaticInserts="true"
        AllowAutomaticDeletes="true"
        AllowAutomaticUpdates="true"
        AllowPaging="true"
        PageSize="10" GridLines="None"
        AutoGenerateColumns="false"
        AutoGenerateDeleteColumn="false">
     
    <MasterTableView DataKeyNames="RecordID" CommandItemDisplay="Top" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric">
    <CommandItemSettings AddNewRecordText="Add new record" />
    <Columns>
       ' just a few columns here
    </Columns>
    </MasterTableView>
</telerik:RadGrid>

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 06 Dec 2010, 03:19 PM
Hello El,

Check out this blog post:

http://blogs.telerik.com/kamenbundev/posts/10-05-03/internet_explorer_css_limits.aspx

Regards,
Dimo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
El
Top achievements
Rank 1
answered on 06 Dec 2010, 05:57 PM
Well i am aware of this problem but this time it is not the issue.
I checked the source code and there are only 20 linked css files. Hmm there must be something else. Maybe i overlook something obvious?
0
Dimo
Telerik team
answered on 07 Dec 2010, 07:41 AM
Hello El,

Generally, there are two possible causes for a skin not being applied (if we assume that the problem is not related to broken URLs and Skin properties not set correctly). So please check which one it is.

1. There are too many CSS files on the page, as mentioned earlier.

RadStyleSheetManager is able to resolve BOTH limitations as of RadControls version (2010.3.1109).


2. If you have the following scenario...

a) a RadControl "B" is a child of another RadControl "A"
b) "A" creates "B" automatically, for example the filtering RadMenu of RadGrid
c) "A" is shown after an AJAX request, but "B" is shown after a subsequent AJAX request

... then "B" will appear with no skin, unless you set EnableAjaxSkinRendering="true" for "A" programmatically in Page_Load - both on initial load and after postbacks.


Since the RadGrid control is normally not an autogenerated child RadControl of anything (except RadFileExplorer) and the issue occurs only in IE, I still vote for cause (1).

If you need further assistance, we will require a runnable demo to investigate.

Regards,
Dimo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
El
Top achievements
Rank 1
Answers by
Dimo
Telerik team
El
Top achievements
Rank 1
Share this question
or