edwardspiggy
New Member
I have a dropdownlist that I have populated from a database. That all works wonderfully. When I select from the list and press the search button (it adds to part of a database search query) the list defaults to 0 index. How do I keep it from doing that? Thanks!Your probably repopulating the listbox in page_load or someplace... you need to do it like this. <BR><BR><BR>'' This way listbox only gets populated when the page<BR>'' first loads. <BR><BR>if Not IsPostBack then<BR><BR> ' Fill listbox<BR><BR>end if