Hi, yes both controls are part of the same usercontrol.
I have seen this example but that already has the grid present:
Actually, when the edit form template is loaded I'm able to get to the controls on the server using ItemCreated using code like this:
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e)
if (e.Item is GridEditFormInsertItem && e.Item.IsInEditMode)
GridEditFormItem editFormItem = (GridEditFormItem)(RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem));
HyperLink objLnkFechaSalidaRG = (HyperLink)editFormItem.FindControl("lnkFechaSalidaRG");
TextBox objTxtFechaSalidaRG = (TextBox)editFormItem.FindControl("txtFechaSalidaRG");
if (objLnkFechaSalidaRG != null &&
objTxtFechaSalidaRG != null)
So from within the grid it works practically quite nice already.
To repeat, what I need is (when the grid and edit form template is loaded) be able to make callbacks on the grid to change its control aspects of that template. Some controls need to appear, some not, depending on user actions.
So how does one accomplish that??
If you can point to any sample that does that it would be great.