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

[Solved] Controls losing Skins

1 Answer 112 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Dirk Haucke
Top achievements
Rank 1
Dirk Haucke asked on 08 Apr 2009, 01:26 PM
Hello,

i have a multiview with 2 views and a radgrid in each view on an aspx page. The radgrid in the first view loses the skin in the following circumstances:
  1. switching the multiview to the second view
  2. pressing a button in the second view which opens a child window via onclick event and window.open()
  3. closing the childwindow (the onunload event of the childwindow does the following: window.opener.document.forms(0).submit())
  4. the childwindow is closed and the page is refreshed
  5. the the radgrid in view two has its normal appearance
  6. switching to view one via a button shows me a ragrid and radcomboboxes without skins (i'am using only the embbeded skins)

What should i do? I tried the radstylesheetmanger but the same happens.

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 13 Apr 2009, 07:44 AM
Hello Dirk,

Is there any ajax calls involved in this case when switching dynamically the visibility of RadControls? If so, note that in case you use RadAjaxManager or RadAjaxPanel the skins for the controls will be registered as expected as opposed to when you have them wrapped inside MS UpdatePanels.

Additionally, keep in mind that you can register the skins manually in the head section of the page to see whether this makes a difference. More information on this subject can be found under the relevant section of this documentation topic (paragraph 'RadControl stylesheet is not registered after an ajax request (inside MS UpdatePanel) when the control is not initially visible on the page').

Kind regards,
Sebastian
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
Dirk Haucke
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or