I have used telerik control in my project. RadTabStrip inside RadTab inside panel.
I'm dynamically created CheckBox and RadComboBox and also get id.
i'm select CheckBox and RadComboBox value and save click to CheckBox and RadComboBox FindControl to get value is null
How Could i get findcontrol to CheckBox and RadComboBox values.
my coding is.
for (int j = 1; j <= i; j++)
{
if (j == i)
{
chk_Dynamic = (CheckBox)Panel1.FindControl("ChkBox" + j.ToString());
Response.Write(" " + chk_Dynamic.ID + " is " + (chk_Dynamic.Checked == true ? "Checked" : "Un-Checked<br/>"));
if (chk_Dynamic.Checked == true)
{
if (dropdown.SelectedIndex == 0)
return;
}
}
}
Thanks
Tamim
I'm dynamically created CheckBox and RadComboBox and also get id.
i'm select CheckBox and RadComboBox value and save click to CheckBox and RadComboBox FindControl to get value is null
How Could i get findcontrol to CheckBox and RadComboBox values.
my coding is.
for (int j = 1; j <= i; j++)
{
if (j == i)
{
chk_Dynamic = (CheckBox)Panel1.FindControl("ChkBox" + j.ToString());
Response.Write(" " + chk_Dynamic.ID + " is " + (chk_Dynamic.Checked == true ? "Checked" : "Un-Checked<br/>"));
if (chk_Dynamic.Checked == true)
{
if (dropdown.SelectedIndex == 0)
return;
}
}
}
Thanks
Tamim