I want to keep the BindingNavigator centered, so I placed it inside a TableLayoutPanel without any docking or anchor, the column is set to auto size.
When the items in the BindingNavigator grow, mainly when the CommandBarLabel's value gets updated, the last button gets hidden from the screen.
How can I make the navigator itself to grow and shrink with its items?
I am on 2022 R3.

Hi,
I'm currently using a dataentry connected to a bindingnavigator. I'm using the below code to check when the bindingsource collection change.
The goal is to disable the delete button in the bindingnavitor when the bindingsource collection has 1 item in it like shown below:
bs.ListChanged += (s, e) => { int itemCount = Convert.ToInt32(bindingNavigator.BindingNavigatorElement.PageLabel.Text.Split(' ')[1]); if (itemCount == 1) { bindingNavigator.BindingNavigatorElement.DeleteButton.Enabled = false; } else { bindingNavigator.BindingNavigatorElement.DeleteButton.Enabled = true; } };
However, I'm having a hard time disable the delete button. As seen in the ListChanged, I'm using below code to disable the button, but it seems that it has no effect at all. Am I doing something wrong?
bindingNavigator.BindingNavigatorElement.DeleteButton.Enabled = false;
I've created a custom binding navigator that inherits from the default to be able to optionally cancel the button navigation. When I add the custom navigator to the form, I don't get the default images. Instead they all use a default image like the attached image. How can I create a custom navigator with the standard button images?
This issue happens even if there is no custom code like the example below:
Public Class CancelBindingNavigator Inherits RadBindingNavigator Protected Overrides Function CreateNavigatorElement() As RadBindingNavigatorElement Return New RadBindingNavigatorElement() End FunctionEnd Class
I've bound a RadBinding Navigator to a binding source
every thing is ok Before any event is fired like
Move to first item
Move to previous item
Move to next item
Move to last item
unfortunately after One of the above event is fired , all the buttonS (first ,previous,next,last ) Get Disabled.
Can You Help Me?

Hi,
Using BindingNavigator with DataLayout - how to add confirmation dialog to Delete button?
Also how to disable Delete button?
Me.RadBindingNavigator1.BindingNavigatorElement.DeleteButton.Enabled = False
- has no effect
Thanks
Alex


Hello, my English is bad, very bad 8D
BindingNavigator don't work, when I write code:
RadBindingNavigator.BindingSource = tableBindingSourse;
however, in the standart BindingNavigator it's working this code
pls, help ^___^

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
