PDA

View Full Version : [CLOSED] MVC ValidationSummary equivalent in Ext.Net v2.2



ViDom
May 21, 2013, 10:49 PM
Hi,

I've using FormForModel (Ext.Net "helper" is it correct name of it?) and I would like to display validationsummary if some condition doesn't be match.

So what is proper way to display validationsummary in ext.net? I mean in Items collection.

Is there Ext.Net equivalent to Html.ValidationSummary() helper? Or should I add Container and add this default helper to content collection?

Thanks,
ViDom

Vladimir
May 21, 2013, 11:09 PM
Please review the following sample
http://mvc.ext.net/#/Models/Model_State/

Maitreya
Nov 19, 2013, 3:18 PM
Please review the following sample
http://mvc.ext.net/#/Models/Model_State/

Hi Vladimir,

Do you have a similar example for WebForms?

Thanks.

Baidaly
Nov 19, 2013, 9:34 PM
Hello!

There are some differences between WebForms and MVC, due to them it's not possible to apply ModelStateStore to WebForms. However, you can use another ways to validate, like in this sample: http://examples2.ext.net/#/Form/Validation/Remote_Validation/

Maitreya
Nov 21, 2013, 10:05 AM
Hi Baidaly,

Thanks for your quick reply. I am mainly looking for a way to show validation summary using webforms.

Do you have any example of it? I tried searching in examples but couldnt find there.

Thanks.

Daniil
Nov 21, 2013, 2:02 PM
Here is some example:
http://examples2.ext.net/#/Toolbar/StatusBar/Advanced/