Presets or custom colors for RibbonBarColorPicker

3 posts, 0 answers
  1. jlj30
    jlj30 avatar
    101 posts
    Member since:
    Jan 2011

    Posted 13 Jan 2015 Link to this post

    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. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 16 Jan 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. jlj30
    jlj30 avatar
    101 posts
    Member since:
    Jan 2011

    Posted 16 Jan 2015 in reply to Hristo Valyavicharski Link to this post

    Hi,

    Thanks.
    This is just what I needed.

    Jim
Back to Top