We have a RadGrid with an edit type of template. Inside the template we have a validation summary and each control has it's own asp.net validators utilizing server side validation. We have business logic validation in a presenter class and when validation fails a custom validator is created and added to the page validators causing the validation to show up in the validation summary. This work fine when doing updates but no when inserting.
The validation summary does not show and the form is cleared of data. Inside the OnInserted event we set the KeepInInsertMode to true and the ExceptionHandled to true. The template stays open but the validation summary is not shown. We have made sure the viewstate is on.
How can we keep the form populated and show the validation summary or is there a different solution?
Any help would be appreciated.
The validation summary does not show and the form is cleared of data. Inside the OnInserted event we set the KeepInInsertMode to true and the ExceptionHandled to true. The template stays open but the validation summary is not shown. We have made sure the viewstate is on.
How can we keep the form populated and show the validation summary or is there a different solution?
Any help would be appreciated.