Hello Developers,
Good Day.
Here i have a issue when i use AutoPostBack="true" on select of radio button, they are getting double, if i select the radio button again they are increasing.
<asp:RadioButtonList ID="rblist" runat="server" OnSelectedIndexChanged="GetAnswerData1" AutoPostBack="true" />
my CS page code is
protected void GetAnswerData1(object sender, EventArgs e)
{
if (rblist.SelectedItem.Selected)
{
DataTable dTable = InterviewBAL.Load(prms);
DataRow row = dTable.Rows[0];
Label1.Text = row["CorrectObjectiveAnswer"].ToString();
Label2.Text = row["ObjectiveJustify"].ToString();
}
}
How to solve this problem, please help me.
Thanks&Regards
iluvdotnetfunda