Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
Ribbon Buttons Cause Crash
posted

Infragistics Ribbon buttons (latest version 10.2) (see below for details), when used in a Silverlight 4 application with Silverlight dialogs (i.e., ChildWindow) keep on highlighted (i.e., appear in focus) after being clicked, and after some use the application freezes.

 

I made a small Silverlight 4 example to reproduce the problem with Infragistics buttons on the ribbon. The problem exists in buttons in XamRIbbon (e.g., ig:XamRibbonGroup  , ig:ButtonTool where          xmlns:ig="http://schemas.infragistics.com/xaml" ).

 

The same problem  is observed in XAMOutlookbar (e.g., ig:OutlookBarGroup).

To reproduce:

 

1. Run the Silverlight4 application TestInfragisticsIssue.

 

2. Click on each of the five buttons named Task#.

 

3. Each click opens a dialog. Click on the OK button to close it.

 

OBSERVE 1: The buttons will stay highlighted (focused) even after the corresponding dialogs are closed.

 

OBSERVE 2: If you are patient enough and play by clicking and switching the application freezes. It may take 20-25 clicks for that. However, in our application we freeze after 4-6 clicks.

 

I can't attach the sample project because the file is too large but I can email it to you.

 

 

Parents
No Data
Reply
  • 400
    Verified Answer
    posted

    The freezing issue can be fixed by setting DialogResult = true or false on the ChildWindows instead of calling the Close() method.

    There is still a minor issue with the ribbon buttons staying highlighted but that is very minor compared to this freezing problem.

    Thanks

Children