Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Formview and DropDownlist

Reply
Thread Tools

Formview and DropDownlist

 
 
Theam Kok Ming
Guest
Posts: n/a
 
      10-11-2006
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!


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
embeding databound DropDownList in FormView spoils DropDownList ev Lagrange ASP .Net Web Controls 1 01-17-2009 08:31 AM
Formview within Formview Chris ASP .Net 0 05-19-2007 04:12 PM
FormView and DropDownList Good ASP .Net 0 04-10-2007 04:06 PM
FormView/Repeater/ Eval(FormView data) David Thielen ASP .Net Web Controls 2 06-16-2006 07:56 PM
FormView and DropDownList Maciejka ASP .Net Security 2 05-25-2006 05:53 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57