Can you do a server-side redirect?

[Description: Description: C:\Users\Brian\Pictures\EXD Logos\Extelligent logo 
no text.jpg]Ishai Sagi | Solutions Architect
0488 789 786 | [email protected]<mailto:[email protected]> | 
www.sharepoint-tips.com<http://www.sharepoint-tips.com/> | 
@ishaisagi<http://twitter.com/ishaisagi> | MVP 
Profile<https://mvp.support.microsoft.com/profile/Ishai>

From: [email protected] [mailto:[email protected]] On Behalf Of 
Web Admin
Sent: Thursday, 21 March 2013 2:48 PM
To: ozMOSS
Subject: Modal DIalog - commit, close and redirect on button click

Hi all,

I'm opening a custom list form in a modal dialog which works beautifully.

OpenPopUpPage('/site/Lists/Sessions/SessionRegister.aspx?ID={@ID}&amp;CourseName={@Title}')

On Submit I'm then passing the user to another custom list form within the same 
modal dialog using GenFireServer commit and redirect. This is also working 
beautifully.

onclick="javascript: 
{ddwrt:GenFireServerEvent(concat('__commit;__redirect={/site/Lists/Registrations/NewReg.aspx?}'))}"

On the next form I want the Submit button to commit the changes, close the 
modal dialog, and then redirect to another page.

Unfortunately I can only ever get two out of three to work. Ether commit and 
redirect within  the dialog, or commit and close with no redirection.

I can't find any examples online that deal with this fairly basic requirement 
and the  ModalDialog API is doing my head in.

Can anyone help please? :)

Regards,

Paul

<<inline: image001.jpg>>

<<inline: image002.jpg>>

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to