View Full Version : Calling a dialog from another dialog

29 May 2007, 10:39 PM
Hi evrybody,

I have a nice ext dialog with me, Thanks to Jack & Team,

I want to call another dialog from that dialog. When I tried it works but the first one is visible in the background. I want this in such a way that the first one should be closed when the second one comes up.

Please post ur valuable suggestions .

Your help would be much appreciated!

29 May 2007, 10:43 PM
I'm yet to try, but can't you just do a dialog1.hide() then dialog2.show()?

29 May 2007, 10:57 PM
But the id I am passing from the button is different for both the dialogs, right?

The code for the dialogs are different too.

31 May 2007, 11:01 PM
Hi Danh2000,

I tried including dialog.hide().
Actually what I did is , I caught the id of the href from first dialog and aplied it like

Its working fine, Only problem there is the animation for the first dialog is coming from the oposite direction.

Any solution for this problem?

Thank you