I have a radGrid control with a nested panel inside. The panel contains various text boxes. The only way that I have been able to find the text box within the nested panel is using a foreach loop. I have not been able to only find the textbox within the selected row. Below is the code i am using...
foreach (GridNestedViewItem item1 in rgrdContacts.MasterTableView.GetItems(GridItemType.NestedView))
{
if (e.Item.Cells[3].Text == "False")
{
string popupTitle = "Edit Contact";
LinkButton linkButton = (LinkButton)item1.FindControl("lbtnEditContact");
linkButton.Attributes.Add("onClick", BuildLightBox("../Pages/EditContact.aspx?IsDlg=0&ContactId=" + e.Item.Cells[2].Text, popupTitle, 960, 680));
linkButton.CssClass = "cwp-button";
linkButton.Visible = true;
}
}
Thank you
foreach (GridNestedViewItem item1 in rgrdContacts.MasterTableView.GetItems(GridItemType.NestedView))
{
if (e.Item.Cells[3].Text == "False")
{
string popupTitle = "Edit Contact";
LinkButton linkButton = (LinkButton)item1.FindControl("lbtnEditContact");
linkButton.Attributes.Add("onClick", BuildLightBox("../Pages/EditContact.aspx?IsDlg=0&ContactId=" + e.Item.Cells[2].Text, popupTitle, 960, 680));
linkButton.CssClass = "cwp-button";
linkButton.Visible = true;
}
}
Thank you