Problems with overlapping ChildWindows in Silverlight

Posted by Humanier on Stack Overflow See other posts from Stack Overflow or by Humanier
Published on 2010-04-16T08:16:41Z Indexed on 2010/04/16 8:23 UTC
Read the original article Hit count: 237

Filed under:

Hello,

I have a Silverlight application. At some point the app shows a ChildWindow with two datagrids and three buttons on it. One of the buttons is 'Reset To Defaults'. After it's pressed, the app shows another ChildWindow on top of the current one in order to ask confirmation.

After the second ChildWindow is closed the first one starts to act funny. It's still changing highlighting of the elements on mouse events (mouseover on a grid element, click on a button). But clicking on the buttons doesn't fire my custom event handlers anymore. The only thing which is working on the ChildWindow is a small cross button created by the framework itself in the upper-right corner of the ChildWindow.

I'd be grateful for any ideas on the cause of the problem or how to resolve it.

Thanks.

© Stack Overflow or respective owner

Related posts about Silverlight