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

How can I add new controls to RadbindingNavigator?

2 Answers 132 Views
BindingNavigator
This is a migrated thread and some comments may be shown as answers.
Wojciech
Top achievements
Rank 1
Wojciech asked on 06 Nov 2017, 08:20 AM

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 Answers, 1 is accepted

Sort by
0
Wojciech
Top achievements
Rank 1
answered on 06 Nov 2017, 10:26 AM
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 :)
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Nov 2017, 02:15 PM
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.
Tags
BindingNavigator
Asked by
Wojciech
Top achievements
Rank 1
Answers by
Wojciech
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or