Dashboard Customization And dashboard refresh

Hi Guys,
With Dashboard customization is it best to

  1. Customize the Main controller?
  2. Customize the tracker view inside dashboard maint?

Also is it possible via customization to refresh a baq view inside a dashboard? I have looked inside a main controller customization for a way to refresh the adapter but I have come up with zilch so far.

Cheers

You should customize the deployed assembly, there are a lot of things you cannot do inside the dashboard maintenance “customization”
Yes you can refresh the dashboard from inside the customization all you need to do invoke the refresh command.

MainController.AppControlPanel.HandleToolClick("RefreshTool", new 
Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(MainController.MainToolManager.Tools["RefreshTool"], null));
7 Likes

Thanks Jose,
I don’t want to refresh the entire dash just one of the views. The problem with refreshing the entire dashboard is you loose your row and then that causes the subscriber/publisher to select a different row.

oh got it… yes there are ways to do that too I’ll have to look at it tomorrow.

While adding above code on button click. System is throwing error
“The name ‘MainController’ does not exist in the current context”.

This only works on deployed dashboards

Thanks Jose. It is working fine.