Completed
Last Updated: 17 Jun 2014 07:59 by ADMIN
ADMIN
George
Created on: 04 Apr 2014 13:33
Category: BindingNavigator
Type: Bug Report
0
FIX. RadBindingNavigator - When creating the control at runtime the click of the buttons is fired twice
To reproduce:

Create a RadBindingNavigator, set its binding source and call the AddStandartItems method. You will notice that when you change the current position by clicking the buttons, two positions are being changed.



Workaround:

Use the following class:

public class MyNavigator : RadBindingNavigator
{
    protected override RadCommandBarElement CreateCommandBarElement()
    {
        return new MyNavigatorElement();
    }
}


public class MyNavigatorElement : RadBindingNavigatorElement
{
    protected override void LoadCore()
    {
        return;
    }
}
0 comments