Call the refresh button from code on UD entry form

Try this

//add using System.Reflection;
MethodInfo mi = typeof(EpiBaseForm).GetMethod("handleToolClick", BindingFlags.Instance | BindingFlags.NonPublic);
mi.Invoke(UD10Form, new object[]{"PrintClientTool",new Infragistics.Win.UltraWinToolbars.ToolClickEventArgs(UD10Form.MainToolManager.Tools["RefreshTool"],null)});
2 Likes