Beispiel #1
0
 protected void RadioButtonList1_SelectedIndexChanged(object sender, EventArgs e)
 {
     //MyTextBox.Text = ((System.Web.UI.WebControls.ListControl)(sender)).SelectedValue;
     if (!string.IsNullOrEmpty(RadioButtonList1.SelectedValue))
     {
         // Popup result is the selected task
         PopupControlExtender1.Commit(RadioButtonList1.SelectedValue);
     }
     else
     {
         // Cancel the popup
         PopupControlExtender1.Cancel();
     }
     // Reset the selected item
     RadioButtonList1.ClearSelection();
 }
Beispiel #2
0
 protected void Button10_Click(object sender, EventArgs e)
 {
     PopupControlExtender1.Commit("bar3");
     PopupControlExtender1.Cancel();
 }
Beispiel #3
0
 protected void Button7_Click(object sender, EventArgs e)
 {
     PopupControlExtender1.Cancel();
     PopupControlExtender1.Cancel();
     PopupControlExtender1.Cancel();
 }