I have 2 controls within a Panel control which is associated to a ModalPopupExtender so that the panel opens within a modal window.
The controls I have within my panel are a button and a RadioButtonList. When I fire the button Onclick event (which fires fine), I can't seem to obtain the selected value from my RadioButtonList.
I have taken out the 2 controls into a simple page and performed the same Onclick event and it works fine so I presume there is an issue with having the RadioButtonList open in a modal??
Can anyone help with a solution?
[ignore the irrelevant INT conversion as I have just extracted the relevant code from something larger]
if (RadioButtonListFonts.SelectedIndex > -1)
//get font item from db
int intEngraveFontID = Convert.ToInt32(RadioButtonListFonts.SelectedValue);
litChosenFontID.Text = intEngraveFontID.ToString();