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

Element 'RibbonBar DropDown' is not a known element.

1 Answer 46 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Yo
Top achievements
Rank 1
Yo asked on 11 Dec 2013, 10:11 AM
Hi,
   I have try to add the Drop Down under the RibbonBar, but got the error below.
Please help..

Thanks a lot..

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Dec 2013, 11:25 AM
Hi,

Please have a look into the following code snippet which works fine at my end.

ASPX:
<telerik:RadRibbonBar ID="RadRibbonBar1" runat="server">
    <telerik:RibbonBarTab Text="Tab2" Value="2" runat="server" ID="RibbonBarTab">
        <telerik:RibbonBarGroup>
            <Items>
                <telerik:RibbonBarSplitButton Text="splitbutton" ID="RibbonBarSplitButton1">
                    <Buttons>
                        <telerik:RibbonBarButton ID="RibbonBarButton1" Text="Button1" CommandName="open"
                            CommandArgument="close" Value="value1" />
                        <telerik:RibbonBarButton ID="RibbonBarButton2" Text="Button2" Value="value2" />
                    </Buttons>
                </telerik:RibbonBarSplitButton>
            </Items>
            <Items>
                <telerik:RibbonBarDropDown>
                    <Items>
                        <telerik:RibbonBarListItem Text="Item1" runat="server" />
                        <telerik:RibbonBarListItem Text="Item2" runat="server" />
                    </Items>
                </telerik:RibbonBarDropDown>
            </Items>
        </telerik:RibbonBarGroup>
    </telerik:RibbonBarTab>
</telerik:RadRibbonBar>

Hope this will helps you.
Thanks,
Shinu.
Tags
RibbonBar
Asked by
Yo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or