Last post Mar 15, 2012 02:09 PM by Alphapage
Mar 07, 2012 09:38 AM|Alphapage|LINK
I try to implement a ValidationSummary but I can't find any example.
Can someone helps me to achieve this?
Thanks in advance.
Mar 07, 2012 09:40 AM|d4daud|LINK
Mar 08, 2012 09:12 AM|Alphapage|LINK
Single Page Application don't run this way (spa forum):
ValidationSummary is set to visible depending on datas returned by the web api.
I need to know how to populate the validationsummary, display when necessary and stop navigation.
Mar 08, 2012 09:56 AM|venkatmca008|LINK
hi....refer this and find examples
Mar 12, 2012 07:34 AM|sreekanthmvk|LINK
Mar 15, 2012 02:40 AM|zhangbenrong|LINK
can we bind validationSummry info to UI in SPA/uoshot/knockout app ? so that we can enable/disable button
Mar 15, 2012 01:06 PM|benaw|LINK
In a SPA using upshot, server validation errors are returned as data in the ajax response. This happens when .commitChanges is called that takes a callback argument and called should there be any. You can then simply call .getEntityErrors() on your dataSource
to get them.
How you display this is up to you. A easy thing to do would be to use the inbuilt data binding to automatically display a small summary.
Mar 15, 2012 02:09 PM|Alphapage|LINK
OK, but I need a little more help to display a friendly message if the entity failed to be inserted. For now, it throws an exception.