Welcome Guest Search | Active Topics | Sign In | Register

Server-side Event Handling on the Dialog Accept Options
Jason
Posted: Thursday, July 19, 2007 12:35:33 PM
Rank: Newbie
Groups: Member

Joined: 6/21/2007
Posts: 7
Is there a way to handle the accept button click event on the server side?
eo_support
Posted: Thursday, July 19, 2007 12:42:44 PM
Rank: Administration
Groups: Administration

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

Just use a regular button instead of the accept button should do the job. Accept button is for close the dialog, but if you want to go back to the server anyway, you don't really care about whether the dialog is closed or not.

Thanks
Jason
Posted: Thursday, July 19, 2007 12:45:23 PM
Rank: Newbie
Groups: Member

Joined: 6/21/2007
Posts: 7
Only the problem is that the dialog is modal. So I'm left trying to trap events from the dialog box, but only the standard object events seem to be exposed.

Thx for the quick response
eo_support
Posted: Thursday, July 19, 2007 12:58:57 PM
Rank: Administration
Groups: Administration

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

What I meant is a regular button either in the dialog's ContentTemplate or FooterTemplate. Just put a regular buttons into either of those two regions and it will have nothing to do with how the dialog works at all.

Thanks
Jason
Posted: Thursday, July 19, 2007 1:23:17 PM
Rank: Newbie
Groups: Member

Joined: 6/21/2007
Posts: 7
Oh? Cool -- I'll give it a try.
Jason
Posted: Thursday, July 19, 2007 1:48:04 PM
Rank: Newbie
Groups: Member

Joined: 6/21/2007
Posts: 7
It worked - thanks -- I guess I should have thought of that.


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.