dropdownlist
-
hi in my application i aam using two dropdownlists. in pageload i pass values for first dropdown and select index of the first dropdown i display second dropdown values. but without refreshing the page how can i get values into second dropdown. regards venkat
-
hi in my application i aam using two dropdownlists. in pageload i pass values for first dropdown and select index of the first dropdown i display second dropdown values. but without refreshing the page how can i get values into second dropdown. regards venkat
Put both dropdownlist in update panel bEst rEgard pAthan
please don't forget to vote on the post that helped you.
-
Put both dropdownlist in update panel bEst rEgard pAthan
please don't forget to vote on the post that helped you.
Thanks Imram it does work, im going to give u maximum point
Sarfarj Ahmed
-
Thanks Imram it does work, im going to give u maximum point
Sarfarj Ahmed
Sarfaraj Ahmed wrote:
Thanks Imram
Always Welcome:)
please don't forget to vote on the post that helped you.
-
hi in my application i aam using two dropdownlists. in pageload i pass values for first dropdown and select index of the first dropdown i display second dropdown values. but without refreshing the page how can i get values into second dropdown. regards venkat
set Autopostback property=True of Dropdownlist1...
-
set Autopostback property=True of Dropdownlist1...
Arif patel wrote:
Autopostback property=True of Dropdownlist1
It will refresh the page...Which Venky dosen't want
-
Arif patel wrote:
Autopostback property=True of Dropdownlist1
It will refresh the page...Which Venky dosen't want
Hi kasi, Another way is using javascript. 1. create a dropdown list using javascript 2. From selected item of dropdownlist1 load items into the dropdownlist2. To create a dropdown list in JavaScript you can use the following code:
Select a page JavaScript FAQ Numbers Strings Navigation Colors JavaScripter.net
Just change the menu items and the corresponding URLs to whatever you want. You can use absolute URLs (like http://www.javascripter.net) as well as relative URLs (like mypage.htm). for loading items in dropdownlist2 the code must be written in load event of that page...... Hope this idea will work..... Regards, Syed Arif.