At certain points you may want to force an update on the C1OlapPage or C1O to regenerate the analysis. You can call the Update method on the C1OlapEngine. To add this functionality to your UI, add a button and in its click event add this code:
Visual Basic |
Copy Code
|
---|---|
' regenerate the olap view
Private Sub Button_Click(sender As Object, e As RoutedEventArgs)
_c1OlapPage.OlapPanel.OlapEngine.Update()
End Sub
|
C# |
Copy Code
|
---|---|
// regenerate the olap view void Button_Click(object sender, RoutedEventArgs e) { _c1OlapPage.OlapPanel.OlapEngine.Update(); } |