protected void trvEstDept_SelectedNodeChanged(object sender, EventArgs e)
    {
        DeptID = trvEstDept.SelectedNode.Value;

        PopupControlExtender1.Commit(trvEstDept.SelectedNode.Text);
        PopupControlExtender2.Commit(trvEstDept.SelectedNode.Value);
    }
Beispiel #2
0
    protected void trvEstDept_SelectedNodeChanged(object sender, EventArgs e)
    {
        PopupControlExtender1.Commit(trvEstDept.SelectedNode.Text);
        PopupControlExtender2.Commit(trvEstDept.SelectedNode.Value);

        if (int.Parse(txtDeptID.Text) != 0)
        {
            AHPDataBinding(VER_ID, ESTTERM_REF_ID, int.Parse(txtDeptID.Text));
        }
    }
 /// <summary>
 /// Handler for radio button changes
 /// </summary>
 /// <param name="sender">source</param>
 /// <param name="e">arguments</param>
 protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(RadioButtonList1.SelectedValue))
     {
         // Popup result is the selected task
         PopupControlExtender2.Commit(RadioButtonList1.SelectedValue);
     }
     else
     {
         // Cancel the popup
         PopupControlExtender2.Cancel();
     }
     // Reset the selected item
     RadioButtonList1.ClearSelection();
 }