i have a form with ultra toolbar manager(including ribbon). for certain ribbon buttons the click event suppose to show a message box to the user but it takes 15 second or so to display the message box. This happens only when the windows theme is set to classic theme it works fine in the windows xp theme. This problem of message boxes appearing delay span through out my application for forms which have a ultratool bar manager control.
I'm using infragistics winforms 2008 version 2
private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e) { switch (e.Tool.Key) { case "ButtonTool1": // ButtonTool // Place code here MessageBox.Show("this is a test"); break; } }
please advice
I am having the same issue with a custom designed theme that I made... I thought I was going crazy... I put a stop in the tool_click method and watch the debugger sail right past it... try using if statements instead of case... that seemed to do the trick for me.
Changing the code to use if instead of switch case really didn't work for me. I think this is something to do with ultra tool bar design and i have submitted this issue to infragistics support and they are still investigating it.
I've started experiencing similar issues after installing Service Release 8.1.20081.2161. Everything works fine on xp theme, however, when classic theme is used, some windows are not getting fully rendered unless cursor is moved over it.
Can anybody tell me if this was fixed and in which version if so?
Thanks.