I have a form with several items.  About half of the form is wrapped in a
named div attached to a WebMarkupContainer.  When a drop-down value changes,
the div is updated via AJAX, re-rendering that part of the form.  However,
the components in that part of the form are not updated and so this
re-rendering causes their values to revert to the initial value.

I've used an AjaxFormComponentUpdatingBehavior to accomplish the AJAX
update.  Is there a more appropriate behavior that I should use?  When I use
no AJAX, then the form maintains its values rather than resetting (but the
whole page is refreshed.)

How can I prevent a form reset?

Thanks,
Nate Roe

Reply via email to