# \[Validation / view models / page lifecycle series\] Can't make ModelState server validation work when it happens in async method in parent VM of VM that posts back to server

**URL:** <https://forum.dotvvm.com/t/validation-view-models-page-lifecycle-series-cant-make-modelstate-server-validation-work-when-it-happens-in-async-method-in-parent-vm-of-vm-that-posts-back-to-server/164>\
**Category:** Discussion in English\
**Created:** [March 3, 2024, 8:14pm UTC](https://forum.dotvvm.com/t/validation-view-models-page-lifecycle-series-cant-make-modelstate-server-validation-work-when-it-happens-in-async-method-in-parent-vm-of-vm-that-posts-back-to-server/164 "2024-03-03T20:14:27Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![MarianV](https://forum.dotvvm.com/letter_avatar_proxy/v4/letter/m/c0e974/32.png) [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Post date:** [March 6, 2024, 10:06am UTC](https://forum.dotvvm.com/t/validation-view-models-page-lifecycle-series-cant-make-modelstate-server-validation-work-when-it-happens-in-async-method-in-parent-vm-of-vm-that-posts-back-to-server/164/11 "2024-03-06T10:06:00Z")

</div>

> [@exyi](#):
>
> I think that’s what [Bind(Direction.None)] (or JsonIgnore) does, or I don’t understand this request

`[Bind(Direction.None)]` does not avoid DotVVM creating a duplicate of the VM of the property and does not avoid double execution of its Load() etc. handlers.

as stated here:

> [@\[page lifecycle series\] repeating Load() for view model of ModalDialog on the same PostBack](https://forum.dotvvm.com/t/page-lifecycle-series-repeating-load-for-view-model-of-modaldialog-on-the-same-postback/159/6):
>
> Yes, we call the nested Load/Init/PreRender on all properties, regardless if they have `Bind(None)`. The justification being that it’s usually much easier to deal with the Load being called multiple times than it not being called at all.

I will try with JsonIgnore…

---

_[View the full topic](https://forum.dotvvm.com/t/validation-view-models-page-lifecycle-series-cant-make-modelstate-server-validation-work-when-it-happens-in-async-method-in-parent-vm-of-vm-that-posts-back-to-server/164)._
