|
Rank: Member Groups: Member
Joined: 10/26/2010 Posts: 16
|
Attempting to get stacked dialogs to appear as separate dialogs.
When calling a second dialog from within a button click event of the first, the second dialog appears within the first dialog (nested). Have tried both code-behind and js calls to show the second dialog, but both result in the same behavior nesting appearance. Both dialogs have their content defined within the same aspx (no separate URLs for content).
Any advice is appreciated.
Sean
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, I am not exactly sure what you mean by "appear as separate dialogs". Please check the following sample and see let us know if yours behaves differently: http://demo.essentialobjects.com/Demos/Dialog/Features/Stacking%20Modal%20Dialogs/Demo.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 10/26/2010 Posts: 16
|
Thanks for the quick response. Your sample behaves as expected -- Dialog 2 is not constrained within the bounds of the content area of Dialog 1. They appear a separate independent dialogs.
In my implementation, Dialog 1 appears to be the parent of Dialog 2 where Dialog 2 renders within Dialog 1's content area which is undesirable.
I'm showing Dialog 2 by setting the InitialState property in the code-behind event triggered by the Button click event of Dialog 1.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I can't think of anything that can cause that. It shouldn't have anything to do with how you display the dialog. Please try to isolate the problem into a test page and we will be happy to take a look.
Thanks
|
|
Rank: Member Groups: Member
Joined: 10/26/2010 Posts: 16
|
I determined the cause -- an error on my part. Apologies.
|
|