Dear All,
In My Application I am using RadGrid Inside the RadWindow. In RadGrid i have used RadTextBox under Item Template. My Requirement is in my form when i will click the button radwindow will be displayed. But the actual problem is i cant set the focus inside the RadTextBox. Because RadGrid was located inside the RadWindow. I have tried the following code. But it doesnt help. I am looking for your valuable help & suggestions.
private void FocusOriginalRow(short index)
{
foreach (GridDataItem gridItem in rGrdItemDet.Items)
{
if (gridItem.ItemIndex == Convert.ToInt32(index))
{
gridItem.FindControl("txtSPCS").Focus();
return;
}
}
}