Hi,
I have a very weird problem with a control that I'm trying to build
now.
I'm having two dropdownlists controls (ASP.NET) where the primary one
hold the categories and is populated when the page is loaded, and the
second one is populated depend on the value selected in the first one.
To load the 2nd dropdown I'm using a combination of AJAX (to retrieve
the data) and javascript to fill in the items (the postback is disabled
so NO page refresh is taking place when the selected item occurred).
The weird thing that happen is that upon page post-back all the items
that I've added to the 2nd dropdownlist (using javascript)
disappeared and the selected value for the 1st stays the same.
If I make them to work with autopost back, everything works great
(values preserved in the dropdownlist.) does anyone has any idea what
should I do?
Thanks.
intrader - 14 May 2006 07:26 GMT
> Hi,
>
[quoted text clipped - 17 lines]
>
> Thanks.
Makes sense to me as the AJAX stuff is not updating the state at the server
(no postback).
r s - 31 May 2006 10:23 GMT
Have the same problem, any way over it ?