|
using System;
namespace DateSite
{
/// <summary>
/// Page representing the error when a user tries to navigate further
/// along in the navigational workflow than they can.
/// </summary>
public partial class genericError : System.Web.UI.Page
{
/// <summary>
/// Attempts recovery of this error by making an attempt to
/// rehydrate the workflow instance that is in session.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnOk_Click(object sender, EventArgs e)
{
WorkflowManager workflowManager = new WorkflowManager(Application, Session, Request, Response);
string pageToGoTo = workflowManager.Rehydrate(workflowManager.CurrentWorkflowInstanceId);
workflowManager.ManagedRedirect(pageToGoTo);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.