I'm binding a DataTable to a WebDataGrid, and setting the DataKeyField. Is it normal that a "Invalid DataKeyField" exception is thrown if the case sensitivity of column names is wrong? For example, if my ColumnName is "CustomerCode" and I specify "customercode" as DataKeyField it doesn't work...
Hi elvandar,
Thank you for posting in the community.
To answer your question - the DataKeyField(s) specified for WebDataGrid are case-sensitive and the behavior you have observed is an expected one.
Please feel free to contact me if you have any questions.