Hi,
I am trying to access some controls in EditItemTemplate within GridTemplateColumn in RadGrid. But they are not there during ItemDataBound event.
}
Could you please help me how can I get them in code (C#) to be able to work with them?
Thank you!
Patrik
I am trying to access some controls in EditItemTemplate within GridTemplateColumn in RadGrid. But they are not there during ItemDataBound event.
protected void rgDiscount_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if (e.Item is GridDataItem)
{
GridDataItem gridDataItem = e.Item as GridDataItem; RadDatePicker rdpFrom = gridDataItem.FindControl("rdpFrom") as RadDatePicker;
}}
Could you please help me how can I get them in code (C#) to be able to work with them?
Thank you!
Patrik