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

Shared ColorBox

6 Answers 81 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Philippe
Top achievements
Rank 1
Philippe asked on 09 Apr 2008, 03:22 PM
Dear telerik,

Is it possible to share the same ColorBox for multiple Pickers? The reason for this is that when multiple color pickers are present on the page, some browsers begin to lag.

Thank you for your support.

6 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Apr 2008, 04:04 PM
Hi Philippe,

This is not possible at the moment but it is one of our priorities for the RadColorPicker control. We are working on making it with a client-rendering - the color palette will be cerated only if it is visible.


Greetings,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Philippe
Top achievements
Rank 1
answered on 15 Apr 2008, 05:41 PM
All right!

Is there any chance this feature makes it in the 2008 Q1 version?

Philippe
0
Svetlina Anati
Telerik team
answered on 16 Apr 2008, 10:44 AM
Hi Philippe,

I am afraid that implementing this functionality will take some time while the Q1 release is today. I can assure you that we are working on this and will offer it as soon as possible. 


Best wishes,
Svetlina
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Philippe
Top achievements
Rank 1
answered on 16 Apr 2008, 01:56 PM
Thank you for your answers, we really appreciate it.

Philippe
0
Yousuf Mohammed
Top achievements
Rank 1
answered on 11 Mar 2009, 06:26 PM
Do we have shared RadColor Picker now? I am using the 2008.3.1314.35 version of RadControls AJAX.
Thanks
0
Tsvetie
Telerik team
answered on 12 Mar 2009, 03:07 PM
Hello Yousuf Mohammed,
No, the current version of the control does not support using one palette for several RadColorPickers. We have implemented however, the feature Svetlina mentions - the palette of the RadColorPicker (when ShowIcon=true) is created on the client on demand. That is, the palette is created just before you open the it for the first time.

Currently, the information for the colors that will be rendered in the palette is serialized and send to the client for every RadColorPicker. That is why, in case you have 10 color pickers that use the same colors, the same colors array, will be serialized and output to the client. You can make all your color pickers use only one colors array by means of javascript. Please refer to our Shared colors collection between different ColorPickers with ShowIcon set to "true" online article for information how to do this.

All the best,
Tsvetie
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ColorPicker
Asked by
Philippe
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Philippe
Top achievements
Rank 1
Yousuf Mohammed
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or