Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friend,

I have one problem when implimentes project.Their are two drop down list names as state and district.
i filled all the data related as state and district.

First time i did select state as maharastra then render page and give district names of maharashtra on district drop down list.

i completed my first form.Then i select another state just like gujarat state drop down list autopostback then gives names of gujarat district names.This information also saves on database.Now starting problem here if i am select second time maharashtra i dont want to autopostback this dropdown and i want to all district names of maharashtra.

How did get names of district when second time i choosed same name of state without render or autopostback events.

please solve this problem as soon as possible.
Posted

1 solution

Auto postback would be there if you have set it to true however you can use javascript or jquery to fill drop down
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900