Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
        {
            Response.Redirect("Login.aspx");
        }
        userid         = int.Parse(Session["UsersID"].ToString());
        ElmiMuessiseID = int.Parse(Session["ElmiMuessiseID"].ToString());
        LinkButton1.Attributes.Add("onclick", "document.getElementById('" + FileUpload1.ClientID + "').click(); return false;");
        //if (FileUpload1.HasFile)
        //{
        //    FileUpload1.SaveAs(Server.MapPath("imgshexsi/") + FileUpload1.FileName);
        //    imgUser.ImageUrl = "imgshexsi/" + FileUpload1.FileName;

        //}
        //Page.Response.Redirect(Page.Request.Url.ToString(), true);
        if (!Page.IsPostBack)
        {
            GetDDLCinsLer();
            GetDDLVetendashliq();
            GetDDLAlileVeziyyeti();
            GetPersonalProfil();
            int tesdiq = 0;
            if (tesdiq == 1)
            {
                lbltesdiq.Text = "disabled";
            }
            lblfooternote.Text = clSsql.getfooternote();
        }
    }
Пример #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         GetKadrHazirliqi();
         GetTehsilPilesi();
         Session["KadrHazirliqiID"] = 0;
         lblfooternote.Text         = clSsql.getfooternote();
     }
 }
Пример #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         GetAcademicDegree();
         GetElmiDerece();
         GetElmSahesiShifri();
         Session["ElmiDerceID"] = 0;
         lblfooternote.Text     = clSsql.getfooternote();
     }
 }
Пример #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         GetAMEAUZV();
         GetUZVSiyahi();
         GetIxtisasShifriAdi();
         Session["AMEAUZVID"] = 0;
         lblfooternote.Text   = clSsql.getfooternote();
     }
 }
Пример #5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         GetMemberShipCamp();
         GetUzvulukFormasi();
         GetIndex();
         GetOlke();
         Session["QrumUzvID"] = 0;
         lblfooternote.Text   = clSsql.getfooternote();
     }
 }
Пример #6
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
        {
            Response.Redirect("Login.aspx");
        }
        List <string> s = new List <string>();

        if (!Page.IsPostBack)
        {
            if (txtmuellifsay.Text != "")
            {
                int addedBooks = int.Parse(txtmuellifsay.Text);
                ViewState["addedBooks"] = addedBooks;
                CreateTextBox("TxtMuellif", addedBooks, s);
            }
            Session["ind"] = 0;
            if (Session["txtAxtarMql"] != null)
            {
                txtAxtar.Text = Session["txtAxtarMql"].ToString();
            }
            GetScienceArticle(txtAxtar.Text);
            GetJurnalElmiBaza();
            GetOlke();
            GetIndex();
            DIvHemmuellif.Visible       = false;
            Session["ScienceArticleID"] = 0;
            DDLNeshriyyatinAdi.Visible  = true;
            txtNeshriyyatinAdi.Visible  = false;
        }
        else
        {
            if (ViewState["addedBooks"] != null && ViewState["addedBooks"].ToString() != "")
            {
                if (txtmuellifsay.Text != "" && txtmuellifsay.Text != null)
                {
                    ViewState["addedBooks"] = txtmuellifsay.Text;
                }

                CreateTextBox("TxtMuellif", int.Parse(ViewState["addedBooks"].ToString()), s);
            }
        }
        lblfooternote.Text = clSsql.getfooternote();
    }
Пример #7
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         if (Session["txtAxtarGrant"] != null)
         {
             txtAxtar.Text = Session["txtAxtarGrant"].ToString();
         }
         GetGrantLayihe(txtAxtar.Text);
         GetIndexStatus();
         GetSiyahiLayihedeIshtirak();
         Session["GrantPrijectID"] = 0;
         lblfooternote.Text        = clSsql.getfooternote();
     }
 }
Пример #8
0
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
        {
            Response.Redirect("Login.aspx");
        }
        List <string> s = new List <string>();

        if (!Page.IsPostBack)
        {
            if (txtmuellifsay.Text != "")
            {
                int addedBooks = int.Parse(txtmuellifsay.Text);
                ViewState["addedBooks"] = addedBooks;
                CreateTextBox("TxtMuellif", addedBooks, s);
            }
            if (Session["txtAxtar"] != null)
            {
                txtAxtar.Text = Session["txtAxtar"].ToString();
            }
            GetConfrance(txtAxtar.Text);
            GetOlke();
            GetOlkeBeynelxalq();
            GetIndexs();
            DIvHemmuellif.Visible  = false;
            Session["ConfranceID"] = 0;
        }
        else
        {
            if (ViewState["addedBooks"] != null && ViewState["addedBooks"].ToString() != "")
            {
                if (txtmuellifsay.Text != "" && txtmuellifsay.Text != null)
                {
                    ViewState["addedBooks"] = txtmuellifsay.Text;
                }
                CreateTextBox("TxtMuellif", int.Parse(ViewState["addedBooks"].ToString()), s);
            }
        }
        lblfooternote.Text = clSsql.getfooternote();
    }
Пример #9
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (Session["PersonalProfilID"] == null || Session["UsersID"] == null)
     {
         Response.Redirect("Login.aspx");
     }
     if (!Page.IsPostBack)
     {
         if (Session["txtAxtarExpertiza"] != null)
         {
             txtAxtar.Text = Session["txtAxtarExpertiza"].ToString();
         }
         GetElmiExpertiza(txtAxtar.Text);
         GetOlke();
         GetNeshriyyatinAdi();
         GetKomiteUzvKonfrans();
         GetKonfransStatus();
         Session["ElmiExpertizaID"] = 0;
         Session["UzvKonfransID"]   = 0;
         lblfooternote.Text         = clSsql.getfooternote();
     }
 }