﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WebForms (How do I?)  » How do I redirect to a new web page using the AfterSave event.</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 20 May 2026 13:35:14 GMT</lastBuildDate><ttl>20</ttl><item><title>How do I redirect to a new web page using the AfterSave event.</title><link>http://forum.strataframe.net/FindPost32076.aspx</link><description>I'm using asp.net web forms and would like to redirect a user whenever the data they entered successfully saves to the database. I was wondering how to do this using the AfterSave event. Or maybe there's a better way to do it??&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thanks!&amp;nbsp;&lt;span&gt;:)&lt;/span&gt;&amp;nbsp;</description><pubDate>Tue, 28 May 2013 10:45:23 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: How do I redirect to a new web page using the AfterSave event.</title><link>http://forum.strataframe.net/FindPost32082.aspx</link><description>I figured it out.&lt;br/&gt;&lt;br/&gt;&lt;div&gt;Thank you!</description><pubDate>Tue, 28 May 2013 10:45:23 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: How do I redirect to a new web page using the AfterSave event.</title><link>http://forum.strataframe.net/FindPost32081.aspx</link><description>Thank you so much for your help!&lt;br/&gt;&lt;br/&gt;&lt;div&gt;How do I check the SaveResult enum value that gets returned by the Save()?</description><pubDate>Tue, 28 May 2013 10:22:00 GMT</pubDate><dc:creator>Jeff Pagley</dc:creator></item><item><title>RE: How do I redirect to a new web page using the AfterSave event.</title><link>http://forum.strataframe.net/FindPost32078.aspx</link><description>Most likely, you'll be saving your data during a postback on the OnLoad method. &amp;nbsp;Saving is a quick operation, so I would just save like normal, check the SaveResult enum value returned from the Save(), and call Response.Redirect() if the save successful. &amp;nbsp;I don't think you'll have to use the AfterSave event to do it.</description><pubDate>Tue, 28 May 2013 08:17:51 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>