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

BindingNavigator + BindingSource

6 Answers 235 Views
BindingNavigator
This is a migrated thread and some comments may be shown as answers.
Dimka
Top achievements
Rank 1
Dimka asked on 15 Nov 2017, 08:03 PM

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 ^___^ 

6 Answers, 1 is accepted

Sort by
0
Dimka
Top achievements
Rank 1
answered on 15 Nov 2017, 08:10 PM
I'm sorry. The question is closed, all agreed. Everything works after restarting Visual studio, I probably made somewhere a mistake.
0
Dimka
Top achievements
Rank 1
answered on 15 Nov 2017, 08:20 PM

[quote]Dimka said:I'm sorry. The question is closed, all agreed. Everything works after restarting Visual studio, I probably made somewhere a mistake.[/quote]

If you change NAME RadBindingNavigator, BindingSource stops working, as I wrote above.

0
Hristo
Telerik team
answered on 16 Nov 2017, 01:56 PM
Hello Dimka,

Thank you for writing.

I am not sure if you have managed to resolve the issue or not. In case you still need assistance please provide me with more details about your local setup. A sample code snippet demonstrating how you are using the binding navigator would also help. In the meantime, you can refer to the documentation here: https://docs.telerik.com/devtools/winforms/bindingnavigator/bindingnavigator.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
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.
0
Dimka
Top achievements
Rank 1
answered on 16 Nov 2017, 06:30 PM

Hello Hristo,

I found a bug in the renaming.

If on the form to place radBindingNavigator and standard BindingNavigator and a button and assign code to bind table to GridView:

       private void button1_Click(object sender, EventArgs e) {
            RadGridView1.DataSource = bindingSource1;
            radBindingNavigator1.BindingSource = bindingSource1; //work
            bindingNavigator1.BindingSource = bindingSource1;  //work
        }

It works!

But if I rename radBindingNavigator as navigaror1, it does not work:

        private void button1_Click(object sender, EventArgs e) {
            RadGridView1.DataSource = bindingSource1;
            navigator1.BindingSource = bindingSource1;   //don't work
            standartNavigator.BindingSource = bindingSource1;  // work
        }

Best regards,
Dimka

0
Dimka
Top achievements
Rank 1
answered on 17 Nov 2017, 05:55 PM
Sorry, I had to read carefully the documentation. Sorry.
0
Hristo
Telerik team
answered on 20 Nov 2017, 02:31 PM
Hello Dimka,

I am not sure what has caused the issues in your project. Now it looks like you have managed to bind the RadBindingNavigator

Please let me know if you would need any further assistance.

Regards,
Hristo
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
Dimka
Top achievements
Rank 1
Answers by
Dimka
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or