protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e) { txtQueryString.Text = string.Empty; hdfEstID.Value = TreeView1.SelectedValue; CheckBoxListCommon.Check(cblEstTermSub, false); CheckBoxListCommon.Check(cblEstTermStep, false); ViewOne(COMP_ID, hdfEstID.Value); ButtonStatusModify(); }
private void ClearValueControls() { txtEstID.Text = ""; txtEstName.Text = ""; hdfUpEstID.Value = ""; txtUpEstID.Text = ""; txtHeaderColor.Text = ""; WebUtility.FindByValueRadioButtonList(rblGradeConfirmYN, "N"); WebUtility.FindByValueRadioButtonList(rblBiasYN, "N"); WebUtility.FindByValueRadioButtonList(rblTgtSendType, "N"); CheckBoxListCommon.Check(cblEstTermSub, false); CheckBoxListCommon.Check(cblEstTermStep, false); WebUtility.FindByValueDropDownList(ddlPointCtrlStep, "1"); WebUtility.FindByValueDropDownList(ddlGradeCtrlStep, "1"); WebUtility.FindByValueRadioButtonList(rblOwnerType, "P"); WebUtility.FindByValueRadioButtonList(rblEstStyle, "BLK"); txtLinkEstID.Text = ""; hdfLinkEstID.Value = ""; WebUtility.FindByValueRadioButtonList(rblWeightType, "DPT"); WebUtility.FindByValueRadioButtonList(rblScaleType, "DPT"); WebUtility.FindByValueDropDownList(ddlBiasTypeID, "1"); WebUtility.FindByValueRadioButtonList(rblQItemDescUseYN, "N"); WebUtility.FindByValueRadioButtonList(rblUseYN, "Y"); WebUtility.FindByValueRadioButtonList(rblVisiblePastPointYN, "Y"); WebUtility.FindByValueRadioButtonList(rblEstQTTMBOYN, "N"); WebUtility.FindByValueRadioButtonList(rblMboScoreEstimateYN, "N"); WebUtility.FindByValueRadioButtonList(rblDashBoardTYPE, "N"); ddlQuestionStyleID.SelectedIndex = 0; ddlDashBoardTYPE.SelectedIndex = 0; ddlDashBoardTYPE.Style.Add("display", "none"); ddlPreviousStempYN.SelectedIndex = 0; //ddlPreviousStempYN.Style.Add("display", "none"); divQPSYN.Style.Add("display", "none"); WebUtility.FindByValueRadioButtonList(rblAllStepVisibleYN, "N"); WebUtility.FindByValueRadioButtonList(rblEmpComDeptYN, "N"); rblEstStyle_SelectedIndexChanged(null, null); }