I want to customize the radEditor ColorPicker. I know how to add my own colors, but I would want to modify the number of colums it is showing (By default it seems to be 10)
Thank you again Telerik team!
3 Answers, 1 is accepted
0
Rumen
Telerik team
answered on 05 Jul 2010, 01:15 PM
Hello Sébastien,
Here is an example how to set the desired items per row count on the client:
<script type="text/javascript">
functionOnClientLoad(editor, args)
{
varoTool = editor.getToolByName("ForeColor"); //get a reference to the desired tool
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
Is it possible that you are using an older version of RadEditor that does not offer the set_itemsperrow(); method? Could you please test the code with the latest version Q1 2010 SP2 of Telerik.Web.UI.dll?
For your convenience I have attached my test project.
Kind regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items