No. I'm doing all this through SharePoint Designer 2013 using DVWPs for
Office 365.

I'm stuck with client-side scripting. I know there's got to be a way. The
below redirects but fails to commit the form first. I've tried wrapping it
in a function but no dice.

onclick="javascript:{ddwrt:GenFireServerEvent('__commit')};
window.top.location ='/inservice/pages/Confirm.aspx?CourseCode={$CourseCode}

Ignoring the modal dialog completely, how can I commit the changes and *then
* redirect?


On 21 March 2013 15:49, Ishai Sagi <[email protected]> wrote:

>  Can you do a server-side redirect?****
>
> ** **
>
> ** **
>
> **[image: Description: Description: C:\Users\Brian\Pictures\EXD
> Logos\Extelligent logo no text.jpg]***Ishai Sagi* | Solutions Architect
> 0488 789 786 | [email protected] | 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****
>
> _______________________________________________
> ozmoss mailing list
> [email protected]
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>

<<image002.jpg>>

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

Reply via email to