BindingNavigator + BindingSource

7 posts, 0 answers
  1. Dimka
    Dimka avatar
    5 posts
    Member since:
    Nov 2017

    Posted 15 Nov Link to this post

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

  2. Dimka
    Dimka avatar
    5 posts
    Member since:
    Nov 2017

    Posted 15 Nov in reply to Dimka Link to this post

    I'm sorry. The question is closed, all agreed. Everything works after restarting Visual studio, I probably made somewhere a mistake.
  3. Dimka
    Dimka avatar
    5 posts
    Member since:
    Nov 2017

    Posted 15 Nov in reply to Dimka Link to this post

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

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

  4. Hristo
    Admin
    Hristo avatar
    1078 posts

    Posted 16 Nov Link to this post

    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.
  5. Dimka
    Dimka avatar
    5 posts
    Member since:
    Nov 2017

    Posted 16 Nov in reply to Hristo Link to this post

    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

  6. Dimka
    Dimka avatar
    5 posts
    Member since:
    Nov 2017

    Posted 17 Nov in reply to Hristo Link to this post

    Sorry, I had to read carefully the documentation. Sorry.
  7. Hristo
    Admin
    Hristo avatar
    1078 posts

    Posted 20 Nov Link to this post

    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.
Back to Top