This question is locked. New answers and comments are not allowed.
Hello all,
How can I emit a custom message on the Popup form when the Grid is set to Popup mode? This is a case where one of a set of checkboxes (Roles) need to be selected for the model to be valid.
I have implemented the IValidatableObject interface and the implemented method checks for the roles selection and using "Yield" returns the message if no roles are selected. The view does not display anything other than the inline model fields. Is there a way to display custom Validation messages (or any others for that matter) inside the Pop-up editor form?
One more if someone knows it, where can you modify the popup hint that displays the violation, that for me I now see with a black background?
Thanks,
Reid
How can I emit a custom message on the Popup form when the Grid is set to Popup mode? This is a case where one of a set of checkboxes (Roles) need to be selected for the model to be valid.
I have implemented the IValidatableObject interface and the implemented method checks for the roles selection and using "Yield" returns the message if no roles are selected. The view does not display anything other than the inline model fields. Is there a way to display custom Validation messages (or any others for that matter) inside the Pop-up editor form?
One more if someone knows it, where can you modify the popup hint that displays the violation, that for me I now see with a black background?
Thanks,
Reid