Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (SessionData.Customer.CustomerID.Equals(string.Empty))
         {
             Response.Redirect("Home.aspx");
         }
         else
         {
             //load Customer grid for Analytics
             canvBiz = new CanvasBizProcess();
             grdAnalytics.DataSource = canvBiz.FetchConfigDataForLoggedInUser(SessionData.Customer.CustomerID);
             grdAnalytics.DataBind();
         }
     }
 }