This question is locked. New answers and comments are not allowed.
Hi, I have a custom validation provider registered in my code for an object I'm binding to a grid.
eg:
in GlobalAsax I have ModelValidatorProviders.Providers.Add(new Obj1ValidationProvider()); and Obj1ValidationProvider inherits from ModelValidatorProvider.
in my grid I have
Html.Telerik().Grid(Model.Obj1Instance)
... etc ...
The error messages set by my Obj1PropertyValidator aren't shown by the grid. How do I get them to show? Normally I'd just use Html.ValidationMessageFor(...) however I can't wrap a grid in a BeginForm() without my edit/delete buttons failing.
Thanks
eg:
in GlobalAsax I have ModelValidatorProviders.Providers.Add(new Obj1ValidationProvider()); and Obj1ValidationProvider inherits from ModelValidatorProvider.
in my grid I have
Html.Telerik().Grid(Model.Obj1Instance)
... etc ...
The error messages set by my Obj1PropertyValidator aren't shown by the grid. How do I get them to show? Normally I'd just use Html.ValidationMessageFor(...) however I can't wrap a grid in a BeginForm() without my edit/delete buttons failing.
Thanks