I have an attribute defined as a string, max length 20. I also have a validation rule on the length of that attribute. I’m editing that table/attribute in a datagrid over an association. If my entry is more than 20 characters in length, I get a runtime error. The datagrid doesn’t have any option to check on the length of the attribute. How can I fix this? Any help is much appreciated.
Unfortunately, Datagrid provides very limited options when data is being edited directly in the grid. As far as I know, there is no field validation prior to committing to the database. Can you use a List View or Datagrid 2 for this page?