This commit is contained in:
36
source/MBI/ro.aspx.cs
Normal file
36
source/MBI/ro.aspx.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
namespace AyaNovaMBI
|
||||
{
|
||||
public partial class ro : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
//set return url session variable
|
||||
string sret=util.GetReturnToUrlFromRequest(Request);
|
||||
if(!sret.Contains("cmd=labors"))
|
||||
Session["ret"] = sret;
|
||||
|
||||
//remove any session cached editable business objects that might be floating about
|
||||
//because user selected back instead of saving or cancelling an edit
|
||||
Session.Remove("memo");
|
||||
Session.Remove("memoto");
|
||||
|
||||
//get the page content and set the title from the request variables
|
||||
string PageData = "ERROR";
|
||||
string TitleData = "ERROR";
|
||||
util.GetRoPageFromRequest(Session,Request, ref PageData, ref TitleData);
|
||||
lit.Text = PageData;
|
||||
Title = TitleData;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user