Error when TryClose called multiple times

Topics: Bugs
Mar 19, 2012 at 5:00 AM

Hi,

I am working on a project the utilises the Silverlight theming supplied by the Silverlight Toolkit. Using this theme we have noticed that it takes a split second longer for the child window to tear down giving our users the opportunity to double click and sometimes triple click the close button on the child window.

The close buttons call the TryClose method and in these situations where the buttons are clicked multiple times our users receive the error "TryClose requires a parent IConductor or a view with a Close method or IsOpen property.".

We had previously had access to the source code and changed it to not throw this error but we have since moved to the NuGet package and no longer have this ability. Is there a workaround or alternative solution so these errors are not thrown?

 

Thanks
Ben 


Silverlight Toolkit Theming (http://silverlight.codeplex.com/wikipage?title=Silverlight%20Toolkit%20Overview%20Part%203)

Jul 8, 2012 at 3:12 PM

Same issue here when trying to open a second child window after closing the first one

TryClose requires a parent IConductor or a view with a Close method or IsOpen property.

Is there any other solution than removing the exception in the source code of caliburn?

Aug 15, 2012 at 1:02 PM
Edited Aug 15, 2012 at 1:04 PM

Created issue for that.