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

ColorPicker visibility

1 Answer 107 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Developer Developer
Top achievements
Rank 1
Developer Developer asked on 27 Jul 2007, 03:45 AM
I have a ColorPicker Control in a datalist which the datalist is in an asp.net panel. Works great, but if I start my application with the Visible property to false on my asp.net panel and then set it to true with a button event the ColorPicker Control renders incorrectly. The only work around I have is to place another ColorPicker on my application and have the Visible property on the ColorPicker set to true. This causes my other ColorPicker to render correctly when my asp.net panel's visible property is set to true.

1 Answer, 1 is accepted

Sort by
0
Petya
Telerik team
answered on 27 Jul 2007, 06:42 AM
Hi,

Are you trying to set visible="true" of the panel with AJAX? If this is so, then to solve your problem you need to register the CSS that the ColorPicker uses in the head of your page:

<link href="Skins/ColorPicker.css" rel="stylesheet" type="text/css" />
 <link href="Skins/Default/ColorPicker.[Used_Skin].css" rel="stylesheet" type="text/css" />

In case you have a different scenario and continue to experience the same problem, please provide more information and a simple running project that reproduces the issue and we will work on it. Let me know how it goes.

Sincerely yours,
Petya
the Telerik team

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