Attempting to use the code:
item["fieldname"] inside of an OnItemDataBound handler for my RadGrid results in the exception:
'Telerik.Web.UI.GridNotSupportedException'
base {Telerik.Web.UI.GridException}: {"Item in insert mode does implement indexer only when the edit form is autogenerated"}'
Is there some other way to get to the data values in the OnItemDataBound, or some reasonable way to make this exception go away? My RadGrid is backed by a List of custom objects, which are mapped via telerik:GridBoundColumn. Autogenerating isn't an option, I need to use a form template for my client.
I tried searching the forums, but didn't find anything that explained this error.
item["fieldname"] inside of an OnItemDataBound handler for my RadGrid results in the exception:
'Telerik.Web.UI.GridNotSupportedException'
base {Telerik.Web.UI.GridException}: {"Item in insert mode does implement indexer only when the edit form is autogenerated"}'
Is there some other way to get to the data values in the OnItemDataBound, or some reasonable way to make this exception go away? My RadGrid is backed by a List of custom objects, which are mapped via telerik:GridBoundColumn. Autogenerating isn't an option, I need to use a form template for my client.
I tried searching the forums, but didn't find anything that explained this error.