Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1750
Some times XamPivotGrid does not connect to database
posted

Hi,

Some times the XamPivotGrid doesn't connect to bring data from the Analysis Server.

Is there a way to assure that the pivot will retry until the connection will be successful ?

Regards,

Dimitris

Parents
  • 7922
    posted

    Hi

    You can listen to ResultChanged event of DataSource and check event argument for error. If error occurs you can call RefreshGrid method.

    pivotGrid.DataSource.ResultChanged += (s, args) =>
    {
        if (args.Error != null)
        {
            pivotGrid.DataSource.RefreshGrid();
        }
    };

     

    Regards
    Todor

     

Reply Children