/// <summary>
 /// InitData
 /// </summary>
 protected override void InitData()
 {
     _data = new FlResinsAddTDS();
 }
        // ////////////////////////////////////////////////////////////////////////
        // EVENTS
        //
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                // Security check
                if (!(Convert.ToBoolean(Session["sgLFS_CWP_FULLLENGTHLINING_ADMIN"])))
                {
                    Response.Redirect("./../../error_page.aspx?error=" + "You are not authorized to view this page. Contact your system administrator.");
                }

                // Validate query string
                if (((string)Request.QueryString["source_page"] == null))
                {
                    Response.Redirect("./../../error_page.aspx?error=" + "Invalid query string in fl_resins_add.aspx");
                }

                // Tag page
                hdfCompanyId.Value = Session["companyID"].ToString();
                hdfUpdate.Value = "no";

                Session.Remove("flResinsAdd");
                Session.Remove("flResinsAddDummy");

                // ... Store datasets
                flResinsAddTDS = new FlResinsAddTDS();
                Session["flResinsAddTDS"] = flResinsAddTDS;
                Session["flResinsAdd"] = flResinsAddTDS.FlResinsAdd;

                // StepSection1In
                wizard.ActiveStepIndex = 0;
                StepBeginIn();
            }
            else
            {
                // Restore datasets
                flResinsAddTDS = (FlResinsAddTDS)Session["flResinsAddTDS"];

                // Store
                Session["flResinsAdd"] = flResinsAddTDS.FlResinsAdd;
            }
        }