Welcome Guest Search | Active Topics | Sign In | Register

Dialog close Options
Torsten Lehmann
Posted: Friday, November 27, 2009 12:56:47 PM
Rank: Newbie
Groups: Member

Joined: 11/16/2009
Posts: 2
d'oh!
Hi,
i have a new terrible problem.
I show in a dialog a ContenURL.
I placed in that ContenURL a closeButton to close the dialog with:

protected void Save1_Click(object sender, ImageClickEventArgs e)
{
EO.Web.Dialog d;
d = (EO.Web.Dialog) Session["EO_Dialog"]; // i have init a session-var with dialog befor
d.Visible = false;
}

hmm, but the dialog is keeping visible :/

Have you a solution for that problem, please tell me!!!
Thank you!!!

Greetings Torsten
eo_support
Posted: Friday, November 27, 2009 1:47:33 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

There is no easy way for you to hide a dialog in a different page with server side code. You will have to use client side JavaScript to do it. You can search for cross frame JavaScript to how to call JavaScript inside another window/frame. Once you get that going, you would call the dialog's close method from your ContentUrl.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.