Completed
Last Updated: 17 Jul 2018 07:17 by Dimitar
ADMIN
Hristo
Created on: 12 Jul 2018 08:56
Category: ChartView
Type: Bug Report
0
FIX. RadChartView - unnecessary call of the Focus method resulting in an unexpected scroll in RadScrollablePanel
How to reproduce: the issue can be observed when opening a form with a RadChartView which is not visible located in RadScrollablePanel. The panel will scroll to the chart which is not desired

Workaround: 
public partial class RadForm1 : Telerik.WinControls.UI.RadForm
{
    public RadForm1()
    {
        InitializeComponent();

        this.radScrollablePanel1.AllowAutomaticScrollToControl = false;
    }

    protected override void OnVisibleChanged(EventArgs e)
    {
        base.OnVisibleChanged(e);

        this.radScrollablePanel1.HorizontalScrollbar.Value = 0;;
    }
}
0 comments