Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to show an error text for editors in the EditFormTemplateContainer.

$
0
0

This sample illustrates how to show an error text that is set for a column in the server-side RowValidating event handler within the error frame of the corresponding editor if the editor is placed in the EditFormTemplateContainer of ASPxGridView.

Question Comments

Added By: Rapu Noa at: 10/27/2015 9:36:04 AM    

This is extremely complicated, hard to understand and hard to maintain. For all practical purposes this functionality is in efect not supported. Really, this looks more like a bad joke than anything else.

Added By: Helen (DevExpress Support) at: 10/27/2015 12:36:06 PM    

Hello,

I feel concerned that this approach is not working for you. At this moment, event data of the RowValidating event does not contain values from template editors. So this solution is the only available way to use this event with the Edit Form template. If you face difficulties with this code, feel free to submit a ticket describing your scenario in greater detail. We may be able to suggest a workaround for your case.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>