467,907 Members | 1,444 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,907 developers. It's quick & easy.

Formview and DropDownlist

Hi All,

I am a newbie to ASP.Net 2.0 . I would appreciate if anyone can enlighten me
on my doubts
I am building a simple customer registration website.

I have the tables and GridView to display the list of existing customer. I
have another FormView control to insert and edit customer data.

I manage to "drag and drop" the control and data sources. The GridView is
able to display the list of customer and FormView is able to insert, update
and delete too.

The current development stage, I would like to change 3 textboxes to 3
DropDownList namely the City, State and Country.

I manage to bind the City, State and Country list into the 3 newly created
DropDownList.

Here is my problem.

I wanted to filter and display the State List when the user selected a
Country within the Country List. For example is a user selected U.S. then
the State List maybe filter the State Table within the database and return a
list which is only U.S. States like New York, Florida and etc.

I have auto postback enable on the Country DropDownList but the State List
won't "refresh" / "re-populate" itself with the selected Country State
List. I have search several website for the solution but I failed to produce
the result as they did :(

This is the website I refer into
http://www.webswapp.com/codesamples/...s/default.aspx
I would appreciate if you can show me some idea or link to some websites
which explain it step by step from top to toe...

Thank you very much!
Oct 11 '06 #1
  • viewed: 1145
Share:

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by P. Yanzick | last post: by
3 posts views Thread by Bas Paap | last post: by
3 posts views Thread by J055 | last post: by
1 post views Thread by Trev | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.