protected void Page_Load(object sender, EventArgs e) { baseUrl = SPlanetUtil.GetBaseURL(Page.Request); if (!Page.IsPostBack) { // Get Permission and if no permission, will redirect to another page. if (!Permission.GetPermission()) { Response.Redirect(ConstantClass.CONSTANT_NO_PERMISSION_PAGE); } PrepareData(); ClearWoringSession(); } else { gridView.DataSource = (from t in summaryQuotationContractData select t).ToList(); gridView.DataBind(); //BindGrid(false); } }
protected void Page_Load(object sender, EventArgs e) { baseUrl = SPlanetUtil.GetBaseURL(Page.Request); }