سؤال

DevExpress AspXGrid has a cool editform template that you can use it several ui style as popup form or inline form betwwen grid rows etc..

When you unimplement Update Event of grid and if you allow grid to editing from settings, it shows the EditForm, but when you fire update button at this state, it shows a cool Error Message like "Specified method is not supported"..

I want to write some custom message in the same place of that message.

Anyone knows how can i do?

Thanks a lot.

هل كانت مفيدة؟

المحلول

Use the ASPxDataValidationEventArgs.RowError property to specify the error text displayed within the Error Row. This row is automatically displayed below the Edit Form if the RowError property is set to a not empty string.

Please, also take a look at the GridEditing/Validation demo module and ASPxGridView documentation.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top