Hi
this shanker am doing one project my requirement is I catcth the dropdowncloumn value of rowindex in itemcommand my sample code
how to find that
please let me it's argent
if (e.CommandName == "Insert")
{
XElement xmlDoc = new XElement("process_bulk_load");
long IDNO = 1;
for (int i = 0; New_Fee_payment_grid.Items.Count > i; i++)
{
CheckBox chk = New_Fee_payment_grid.Items[i].Cells[0].FindControl("allcheck") as CheckBox;
if (chk != null)
{
if (chk.Checked == true)
{
DropDownList student_name = ((DropDownList)New_Fee_payment_grid.Items[i].cells[1.control[0]]) as DropDownList;
if (student_name != null)
{
}
}
}
}
}
how to fine it's very argent I face this error
Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'Telerik.Web.UI.RadComboBox'.
thanks and regards
shanker.b