Updating 3 interdependant dropdowns using ajax

S

Stimp

I have 3 dropdowns: country, county and district.

I'm using ajax to dynamically populate the county and district dropdowns
when country dropdown is changed (and similarly the district dropdown when
county is changed).

This works fine, but unfortunately when I reload the page (via pressing a
button on the page), the county and district lists are emptied (obviously
because they haven't been stored in viewstate, etc)

I'm wrecking my head trying to come up with an elegant solution to this.
Any suggestions?

Thanks !
Peter
 
S

Stimp

Stimp,
This is one of the problems with the use of the "AJAX" buzzword; nobody
knows "which" Framwork / tool you are using to do your "AJAX-ing.

The anthem.net framework, which is an open source "AJAX" library is
available on sourceforge.net and one of the provided example pages in it does
exactly what you describe, if that helps.
Peter

Interesting, I wasn't aware of any such libraries (except Atlas
obviously!) ... I'll check it out.

I'm not actually using any framework/tool to do the ajax. I've created
my own ajax javascript code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top