are you sure that all the form elements that are in that div that you
replace have the AjaxFormComponentUpdatingBehavior attached?

On Thu, May 8, 2008 at 1:22 AM, nate roe <[EMAIL PROTECTED]> wrote:

> 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