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

Presets or custom colors for RibbonBarColorPicker

2 Answers 42 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
jlj30
Top achievements
Rank 2
jlj30 asked on 13 Jan 2015, 06:22 PM
Hi,

I'm just starting to play with the ribbonbar - it looks very promising.
One of the first things I wanted to try was the color picker.
There does not appear to be a Preset property like there is for the RadColorPicker.

The default palette is somewhat limited.
Is there any way to specify a preset or add my own colors?

Thanks in advance.

Jim

2 Answers, 1 is accepted

Sort by
0
Hristo Valyavicharski
Telerik team
answered on 16 Jan 2015, 04:50 PM
Hi Jim,

You may try to put RadColorPicker inside RibbonBarTemplateItem:

<telerik:RadRibbonBar ID="RadRibbonBar1" runat="server">
    <telerik:RibbonBarTab Text="Tab">
        <telerik:RibbonBarGroup>
            <Items>
                <telerik:RibbonBarTemplateItem>
                    <telerik:RadColorPicker runat="server"></telerik:RadColorPicker>
                </telerik:RibbonBarTemplateItem>
            </Items>
        </telerik:RibbonBarGroup>
    </telerik:RibbonBarTab>
</telerik:RadRibbonBar>

I hope this helps.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
jlj30
Top achievements
Rank 2
answered on 17 Jan 2015, 12:47 AM
Hi,

Thanks.
This is just what I needed.

Jim
Tags
RibbonBar
Asked by
jlj30
Top achievements
Rank 2
Answers by
Hristo Valyavicharski
Telerik team
jlj30
Top achievements
Rank 2
Share this question
or