Hi,
I have a RadGrid with AutoGenerateColumns= true. I tried adding a RequiredFieldValidator as described in http://www.telerik.com/help/aspnet/grid/grdvalidation.html.
I hooked up the validator in the ItemCreated event and this works fine (the validator performs as expected). The problem however, arises when the update button is pressed.
When in try to call:
| item.OwnerTableView.ExtractValuesFromItem(newValues, item); // item is GridEditableItem |
the returned values for the items with a validator attached are always null. The values for items without a validator are returned correctly.
I suspect the problem arises from the AutoGenerateColumns= true (or the documentation on the subject is just plain wrong, which i suspect is not the case). Is there a workaround for this issue?
I'm currently using Telerik.Web.UI.dll version 2009.1.311.35