ddwrt Redirect
<input type="button" value="Save" name="btnSave" onclick="javascript:{ddwrt:GenFireServerEvent('__commit;__redirect={}')}"></input>
To Pass through variables:
http://www.sharepointings.com/custom-list-forms/
Absolute and Relative Paths:
http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm
Ex: ../../SitePages/FAQs.aspx
<input type="button" value="Save" name="btnSave" onclick="javascript:{ddwrt:GenFireServerEvent('__commit;__redirect={}')}"></input>
To Pass through variables:
<input type="button" value="Submit" name="btnSave" onclick="javascript: {ddwrt:GenFireServerEvent(concat('__commit;__redirect={/Pages/YourPage.aspx?ID=',/dsQueryResponse/Rows/Row/@ID,'}'))}" />
http://www.sharepointings.com/custom-list-forms/
Absolute and Relative Paths:
http://webdesign.about.com/od/beginningtutorials/a/aa040502a.htm
Ex: ../../SitePages/FAQs.aspx
No comments:
Post a Comment