Question
postback creating duplicates in asp drop down list
Hello Everyone,
I'm new here and have had an issue for a little over a week that I can't seem to figure out. I have an asp drop down list that's sorted with duplicates removed and two asp text boxes all for user input. The input is for a search that takes the results and displays them to a datagrid. Everything works fine up until the drop down box is accessed again for another search. The postback event populates the drop down box, so everything is duplicated. I've tried to hide the search form on postback in the sub Page_Load so the user can't perform another search, but once the values for the search are removed, the paging no longer works. Anyone have any ideas? Thanks.
I'm new here and have had an issue for a little over a week that I can't seem to figure out. I have an asp drop down list that's sorted with duplicates removed and two asp text boxes all for user input. The input is for a search that takes the results and displays them to a datagrid. Everything works fine up until the drop down box is accessed again for another search. The postback event populates the drop down box, so everything is duplicated. I've tried to hide the search form on postback in the sub Page_Load so the user can't perform another search, but once the values for the search are removed, the paging no longer works. Anyone have any ideas? Thanks.
