Hi,
I am using .Net framework2.0. I have an aspx with vb.net as codebehind
step1:When page loads I am loading the dropdown from the db.
step2: After page load, I can enter any value in the text box and click on add button will load the value in the list box.
step3: If I change the value in the dropdown (I have written some code to load the value into another listbox based on the dropdown selected) the listbox value which I did in step2 is cleared off due to postback.
Now how do I maintain/preserve the values in the listbox that I did step2 ?
Thanks,
Renil.
I am using .Net framework2.0. I have an aspx with vb.net as codebehind
step1:When page loads I am loading the dropdown from the db.
step2: After page load, I can enter any value in the text box and click on add button will load the value in the list box.
step3: If I change the value in the dropdown (I have written some code to load the value into another listbox based on the dropdown selected) the listbox value which I did in step2 is cleared off due to postback.
Now how do I maintain/preserve the values in the listbox that I did step2 ?
Thanks,
Renil.