for (int TableLoop = 0; TableLoop <>
if (rgList.MasterTableView.Controls[TableLoop].ToString().Equals("Telerik.WebControls.GridTable"))
{
Table GTable = (Table)rgList.MasterTableView.Controls[TableLoop];
for (int HeadLoop = 0; HeadLoop <>
if (GTable.Controls[HeadLoop].ToString().Equals("Telerik.WebControls.GridTHead"))
{
GridTHead GHead = (GridTHead)GTable.Controls[HeadLoop];
for (int ItemLoop = 0; ItemLoop <>
if (GHead.Controls[ItemLoop].ToString().Equals("Telerik.WebControls.GridCommandItem"))
{
GridCommandItem GItem = (GridCommandItem)GHead.Controls[ItemLoop];
RadComboBox rcmb = (RadComboBox)GItem.FindControl("rddlCopyToEvent");
DestEventID = Convert.ToInt32( rcmb.SelectedValue);
DestEvent = rcmb.SelectedItem.Text.ToString();
}
}
}
No comments:
Post a Comment