MainController.AppControlPanel.HandleToolClick("RefreshTool", new
Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(MainController.MainToolManager.Tools["RefreshTool"], null));
Are you trying to do this before you deploy it? You can’t do this in the runtime. You have to deploy it first, then do a customization on the deployed dashboard. Sorry I didn’t catch that first.
After it’s deployed, you can get the (mostly) full suite of customization tools. Pretty much just like a regular form. There a few exceptions, but I haven’t really run into them. Most of the limitation’s are convenience in that the regular forms are already populating temporary tables. But that’s way down the road of complexity.