Welcome Guest Search | Active Topics | Sign In | Register

How to close a dialog from the content Template control Options
Fabio
Posted: Thursday, April 17, 2008 6:41:14 AM
Rank: Member
Groups: Member

Joined: 1/9/2008
Posts: 27
Hi
I am using the dialog control as a lookup control.
For this, i have used the ContentURL which points to a page, the users can select one or more records and click the save button on the ContentURL page,
what i need is to close the dialog control on the save button
How can i do this??

I am really stuck over here,

Thanks
Arun
eo_support
Posted: Thursday, April 17, 2008 6:58:02 AM
Rank: Administration
Groups: Administration

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

Try to put the following code into your ContentUrl page:

<input type="button" value="Close" onclick="parent.eo_GetObject('Dialog1').close();" />

Thanks
Fabio
Posted: Thursday, April 17, 2008 8:04:41 AM
Rank: Member
Groups: Member

Joined: 1/9/2008
Posts: 27
Thanks Guys works superb
Arun


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.