Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!objda.validatelogin())
            {
                Response.Redirect("logout.aspx");
            }
            divnodatafound.Visible = false;

            if (!Page.IsPostBack)
            {
                bindgrid();
            }
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //Ajax.Utility.RegisterTypeForAjax(typeof(admin_ManageCompany));
            if (!objda.validatelogin())
            {
                Response.Redirect("logout.aspx");
            }


            Page.Form.Attributes.Add("enctype", "multipart/form-data");


            if (!Page.IsPostBack)
            {
                divnodatafound.Visible = false;
                bindcountry();
                bindgrid();
                bindcurrency();
            }
        }