示例#1
0
        protected void CancelAuto_OnClick(object sender, EventArgs e)
        {
            CarServiceUtility.ClearSessionAttributes(Session);
            string continueUrl = "~/Members/Cars/Cars.aspx";

            Response.Redirect(continueUrl);
        }
示例#2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (persister == null)
     {
         persister = new CarServicePersister();
     }
     if (IsPostBack == false)
     {
         CarServiceUtility.ClearSessionAttributes(Session);
         BindAutomobilesGrid();
     }
 }
示例#3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (persister == null)
     {
         this.persister = new CarServicePersister();
     }
     if (IsPostBack == false)
     {
         BindRepairCardsGrid();
         CarServiceUtility.ClearSessionAttributes(Session);
         this.notificationMsgList.CssClass = CarServiceConstants.NEGATIVE_CSS_CLASS_NAME;
     }
 }