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

            Response.Redirect(continueUrl);
        }
Beispiel #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (persister == null)
     {
         persister = new CarServicePersister();
     }
     if (IsPostBack == false)
     {
         CarServiceUtility.ClearSessionAttributes(Session);
         BindAutomobilesGrid();
     }
 }
Beispiel #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;
     }
 }