Exemple #1
0
    protected void ugrdColumn_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)
    {
        Infragistics.WebUI.UltraWebGrid.UltraGridRow ugrd = e.SelectedRows[0];

        this.ISEQ = DataTypeUtility.GetToInt32(ugrd.Cells.FromKey("SEQ").Value);
        if (ugrd.Cells.FromKey("COL_TYPE").Value.ToString() == "FIXEDKEY")
        {
            iBtnSave.Visible = false;
        }
        else
        {
            iBtnSave.Visible = true;
        }

        WebUtility.FindByValueRadioButtonList(rblVISIBLE_YN, ugrd.Cells.FromKey("VISIBLE_YN").Value.ToString());
        WebUtility.FindByValueRadioButtonList(rblUSE_YN, ugrd.Cells.FromKey("USE_YN").Value.ToString());
        txtCOL_ORDER.Text = ugrd.Cells.FromKey("COL_ORDER").Value.ToString();
        txtCOL_KEY.Text   = ugrd.Cells.FromKey("COL_KEY").Value.ToString();
        txtCOL_NAME.Text  = ugrd.Cells.FromKey("COL_NAME").Value.ToString();
        txtCOL_DESC.Text  = ugrd.Cells.FromKey("COL_DESC").Value.ToString();
        WebUtility.FindByValueDropDownList(ddlTYPE, ugrd.Cells.FromKey("COL_TYPE").Value.ToString());
        txtCOL_WIDTH.Text = ugrd.Cells.FromKey("COL_WIDTH").Value.ToString();
        WebUtility.FindByValueDropDownList(ddlALIGN, ugrd.Cells.FromKey("COL_ALIGN").Value.ToString());
        WebUtility.FindByValueDropDownList(ddlDATATYPE, ugrd.Cells.FromKey("DATA_TYPE").Value.ToString());
        txtPROC_NAME.Text = ugrd.Cells.FromKey("PROC_NAME").Value.ToString();
        WebUtility.FindByValueDropDownList(ddlPROCTYPE, ugrd.Cells.FromKey("PROC_TYPE").Value.ToString());
    }
Exemple #2
0
    //protected void ddlEstTermSubID_SelectedIndexChanged(object sender, EventArgs e)
    //{
    //    ESTTERM_SUB_ID = WebUtility.GetIntByValueDropDownList(ddlEstTermSubID);

    //    DoBindingGroup();
    //}

    //protected void ddlEstTermStepID_SelectedIndexChanged(object sender, EventArgs e)
    //{
    //    ESTTERM_STEP_ID = WebUtility.GetIntByValueDropDownList(ddlEstTermStepID);

    //    DoBindingGroup();
    //}

    #endregion

    #region ================== 버튼 컨틀롤 ========================

    protected void ugrdGroup_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)
    {
        this.IBIAS_GRP_ID = DataTypeUtility.GetToInt32(e.SelectedRows[0].Cells.FromKey("BIAS_GRP_ID").Value);
        DoBindingEmpTree(this.IBIAS_GRP_ID);
        lblGroup.Text      = "[ " + e.SelectedRows[0].Cells.FromKey("BIAS_GRP_NM").Value.ToString() + " ]";
        lblGroup.Font.Bold = true;
        lblGroup.ForeColor = Color.LightBlue;
    }
Exemple #3
0
 private void webGrid_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)
 {
     System.Int64 itemId = Convert.ToInt64(e.SelectedRows[0].Cells[0].ToString());
     SessionState.TVAllItems = !SessionState.User.HasItemInScope(itemId);
     if (SessionState.TVAllItems)
     {
         SessionState.User.LastVisitedItemReadOnly = itemId;
     }
     else
     {
         SessionState.User.LastVisitedItem = itemId;
     }
     SessionState.User.QuickSave();
     if (SessionState.Culture.Code == HyperCatalog.Shared.SessionState.MasterCulture.Code)
     {
         Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "load", "<script>top.location='/UI/Acquire/QDE.aspx';top.location.reload();</script>");
     }
     else
     {
         Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "load", "<script>top.location='/UI/Globalize/QDETranslate.aspx';top.location.reload();</script>");
     }
 }
Exemple #4
0
 protected void ugrdTarget_SelectedRowsChange(object sender, Infragistics.WebUI.UltraWebGrid.SelectedRowsEventArgs e)
 {
     intTergetVersion = int.Parse(e.SelectedRows[0].Cells.FromKey("KPI_TARGET_VERSION_ID").Value.ToString());
     this.SetFormData();
 }