Code for a Custom Refresh Button

When I needed to add a custom button to refresh my dashboard, I added this to the customization for the button code:

//Call Dash Refresh All
oTrans.PushStatusText("Refreshing all views. Please be patient...", false);      
MainController.AppControlPanel.HandleToolClick("RefreshAllTool", new 
Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(MainController.MainToolManager.Tools["RefreshAllTool"], null)); 
oTrans.PushStatusText("Done!", false);

Also the documentation that Jose mentioned is a riveting couple of days worth of reading. :stuck_out_tongue_closed_eyes:
Good luck!

1 Like