Ejemplo n.º 1
0
 void OnPivotGridOlapException(object sender, PivotOlapExceptionEventArgs e)
 {
     e.Handled = true;
     pivotGrid.Dispatcher.BeginInvoke(
         new Action(delegate() {
         ShowOLAPErrorMessage(e);
     })
         );
 }
Ejemplo n.º 2
0
        void ShowOLAPErrorMessage(PivotOlapExceptionEventArgs e)
        {
            errorText.Text = (e.Exception.Message + "\r\n " + ((e.Exception.InnerException != null) ? e.Exception.InnerException.Message : string.Empty));
            VisualStateManager.GoToState(this, "ShowErrorMessage", true);
            DispatcherTimer timer = new DispatcherTimer();

            timer.Interval = new TimeSpan(0, 0, 10);
            timer.Tick    += OnTimerTick;
            timer.Start();
            e.Handled = true;
        }
Ejemplo n.º 3
0
 void OnPivotGridOlapException(object sender, PivotOlapExceptionEventArgs e)
 {
     e.Handled = true;
 }