MyName.
08-11-2011, 07:52 PM
Fellow ASP.NETers,
For the page I am currently working on, I have two ComboBoxes and an ASP.NET checkbox list. The first ComboBox filters the second ComboBox, and the second ComboBox populates the ASP list. The issue I am having is that if I leave EnableViewState set to true for the second ComboBox, it does not display the filtered results. When I set EnableViewState to false the second ComboBox and the first work perfectly, but on PostBack all of the selected items on the asp list get deselected.
Yes I am a 100% sure it is the EnableViewState that is causing the issue. Any ideas?
PLEASE HELP ME FIX THIS!!! I really need to its urgent!! I will vote best answer for this because I can't seem to solve this issue.
For the page I am currently working on, I have two ComboBoxes and an ASP.NET checkbox list. The first ComboBox filters the second ComboBox, and the second ComboBox populates the ASP list. The issue I am having is that if I leave EnableViewState set to true for the second ComboBox, it does not display the filtered results. When I set EnableViewState to false the second ComboBox and the first work perfectly, but on PostBack all of the selected items on the asp list get deselected.
Yes I am a 100% sure it is the EnableViewState that is causing the issue. Any ideas?
PLEASE HELP ME FIX THIS!!! I really need to its urgent!! I will vote best answer for this because I can't seem to solve this issue.