Can I achieve this by adding a postback event to commitPopup()? It doesn't seem to work. The list item won't update. :\
I'm just going to redirect within dialog to another page with a close button and confirmation message. Stuff it. Regards, Paul Noone SharePoint Farm Admin/Developer Infrastructure Team CEO Sydney p: (02) 9568 8461 f: (02) 9568 8483 e: [email protected] w: http://www.ceosyd.catholic.edu.au/ On 21 March 2013 16:07, Web Admin <[email protected]> wrote: > 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}&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
