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

RadGrid Losing skin in IE only with IIS 7

1 Answer 52 Views
Grid
This is a migrated thread and some comments may be shown as answers.
TheLostLeaf
Top achievements
Rank 2
TheLostLeaf asked on 04 May 2011, 09:35 PM
Hi,

I have attempted many other solutions regarding skin loss without resolution. 

Ajax RadGrid in an  RadAjaxPanel loses skin in these conditions when loaded dynamically into a PageView.
IE 8 with IIS 7

IE8 with IIS 6 works.

All other browsers work fine also (Safari, Chrome, Firefox)

any ideas ?

ver: 2011.1.413.40

Thanks
Eric

1 Answer, 1 is accepted

Sort by
0
TheLostLeaf
Top achievements
Rank 2
answered on 04 May 2011, 09:56 PM
Ok, I figured out what the problem was.

I was adding a style manually in the codebehind for another control, and it was being added more than once. The duplicated style must have caused the problem in IE only with IIS 7. Once I disabled the code below all controls were properly skinned.

//LiteralControl ltr = new LiteralControl("<style type='text/css'>.RadUpload input.ruFakeInput {display: none;}</style>");
//parentPage.Header.Controls.Add(ltr);

 

 

 


Thanks !

 

Tags
Grid
Asked by
TheLostLeaf
Top achievements
Rank 2
Answers by
TheLostLeaf
Top achievements
Rank 2
Share this question
or