Help on Cascading topic

Posted by Vijayar under C# on 5/3/2011 | Points: 10 | Views : 1167 | Status : [Member] | Replies : 1
Hi,

I have two drop-downs one is State and another is City. I want to get the names of all cities corresponding to a particular state without manually selecting it. I want that when I select the any State from the State drop-down, the City drop down should get automatically selected. How can I do it in 4 layer architecture

vijaya


Responses

Posted by: Ndebata on: 5/3/2011 [Member] Starter | Points: 25

Up
0
Down
Hi

You can use register selectedindexchanged event on state dropdown. The get the list of city for that state and bind it to city dropdown.
Could please clarify, if there are more than one city for a particular state whcih one you need to select?

Thanks,
Debata


Vijayar, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response