radiobuttons is assigned before page init..
public partial class Default : System.Web.UI.Page
//Assign values as a specific Dynamic WebControl Creation.
List<RadioButton> radioButtons = new List<RadioButton>();
List<CheckBox> checkBoxes = new List<CheckBox>();
Then I created a class that would dynamically create a table containing the available flights depending on session.. (See CallPageLoad())
The placeholder and button is inside the UpdatePanel...
on the button inside the update panel, (btnSelect)
i have this code which works...
protected void btnSelect_Click(object sender, EventArgs e)
Label1.Text = Convert.ToString(radioButtons.Count);
It detects the number of radiobuttons that were dynamically created...
But when I use the following code inside the BtnSelectClick event...
foreach (RadioButton button in radioButtons)
if (button.Checked == true)
Label1.Text = "You select... " + button;
It does not work even though t
View Complete Post