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

[Solved] BUG with skins

1 Answer 120 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
dhlennon
Top achievements
Rank 1
dhlennon asked on 18 Feb 2008, 05:15 PM
In a data entry form I placed several comboboxes.

I also had two in an updatepanel which becomes visible dependant on input.

No problems.

After setting the skins of the original combos (outside the updatepanel) to "Vista" the ones in the updatepanel break and do not display even their default skin correctly.

Setting the combos in the updatepanel to Vista too, and everything is fine again.

So in summary, changing the original combo's skin property to anything from the default and not doing the same to those in the updatepanel broke the display of those in the updatepanel.

Don't need assistance as this is not causing me a problem, just a bug I noticed whilst coding.

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 21 Feb 2008, 01:15 PM
Hello dhlennon,

This problem arises because the skins of the RadComboBoxes, which are inside the Update Panel and are not initially visible on the page, are not loaded. However, if you change their skins to Vista they will be properly displayed, because the skin is referenced by the RadComboBox outside the Update Panel and is already loaded.

Try adding a reference to the Default skin in the <head> tag of the page (make sure that the path in the href attribute matches the location of the css file):

<link type="text/css" rel="stylesheet" href="ComboBox.Default.css" /> 

You should do this for every skin used by a RadComboBox which is not initially visible on the page.

I hope this helps.

Regards,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
dhlennon
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or