How can I add new controls to RadbindingNavigator?

3 posts, 0 answers
  1. Wojciech
    Wojciech avatar
    8 posts
    Member since:
    Sep 2017

    Posted 06 Nov 2017 Link to this post

    How can I add new controls (buttons, raddropdownlist etc) to RadbindingNavigator? When using Microsoft control it is pretty easy and can be done at design time. Any clues?

    Thanks

    Wojciech

  2. Wojciech
    Wojciech avatar
    8 posts
    Member since:
    Sep 2017

    Posted 06 Nov 2017 in reply to Wojciech Link to this post

    It is as simple as just by use of Add New Strip from the control menu accessible in design mode. I assume the same can be easioly done programatically. I think I'm too much binded to Microsoft's controls :)
  3. Dess
    Admin
    Dess avatar
    2576 posts

    Posted 06 Nov 2017 Link to this post

    Hello, Wojciech,

    Thank you for writing.  

    Note that RadBindingNavigator is a derivative of RadCommandBar. In order to add a new button to RadBindingNavigator, please refer to the following code snippet: 
    CommandBarButton button = new CommandBarButton();
    button.Text = "Click";
    button.DrawText = true;
    this.radBindingNavigator1.Rows[0].Strips[0].Items.Add(button);

    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top