Skip to Content
0
Former Member
Jul 10, 2008 at 09:00 PM

Close an External Window from a Modal Window

36 Views

Hi Experts,

I have the following scenario:

From my component "A", I'm calling as modal window to component "B".

Normally, component "A" and component "B" have buttons for close themself.

But, when I press a button in component "B", I need to close this component and component "A", too.

I can close component "B". More over, I can close component "A" pressing one button in the same component, but pressing the button from component "B" I'm getting error and I can't do that.

For this purpose, I'm calling the method that I use for close component "A" in the WDMODIFYVIEW of a view which contained in this component "A", but it doesn't work. I'm getting a dump, because it can't be done in this method.

Somebody knows how can I do that?

Thanks in advance!

Kind Regards,

Lucas