RADSplitButton

2 posts, 0 answers
  1. sachin jagtap
    sachin jagtap avatar
    15 posts
    Member since:
    Jul 2009

    Posted 10 Nov 2009 Link to this post

    Hi i am creating a RADSplit button as follows

    <

     

    telerikRibbonBar:RadRibbonSplitButton Name="ToggleButton" IsToggle="True" Width="50" IsAutoSize="False" CloseOnEscape="True" IsChecked="True">

     

     

     

    <telerikRibbonBar:RadRibbonSplitButton.DropDownContent>

     

     

     

    <telerikNavigation:RadContextMenu BorderThickness="0">

     

     

     

    <telerikNavigation:RadMenuItem Header="Current Records"/>

     

     

     

    <telerikNavigation:RadMenuItem Header="History Records"/>

     

     

     

    </telerikNavigation:RadContextMenu>

     

     

     

    </telerikRibbonBar:RadRibbonSplitButton.DropDownContent>

     

     

     

    </telerikRibbonBar:RadRibbonSplitButton>

     


    i want to know how to select any index from drop menu in split button and assign it as text of split button

    2) when i click and menu item in above code the splitbutton text is not set to the selected item.

    for exampel if i select currecnt records the button should have text currents records on it, which is not happening.

    Regards,
    Sachin

  2. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 10 Nov 2009 Link to this post

    Hi Sachin,

    Thank you for your interest in the RadButtons for Silverlight.

    Actually our controls do not support your scenario right of the box. However you can implement it in your application. We already prepared such an example and publish it in our Split-button online example. Please give it a try. The source code is published too - just click on the View Code button.

    If you have any other question please drop us a line.

    Sincerely yours,
    Ivan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
Back to Top