scottie_uk
April 20th, 2003, 12:34 PM
I am developing a form with a drop down list containing items loded in from a data base.
The user will click on a n item in the DDL the click a button to delete it.
I have ben using
ddlAccomodationList.selectedItem.text
when the delete comand is selected it only returns the first item in the list, what ever I select.
If I set enableViewState to True, this solves the problem, but then means when the page is reloaded/refreshed, I get duplicate items in the list.
to re-load a page i redirect it to it's self using the below code:
responce.redirect(website.aspx)
Please help me I am in dire need.
:confused: :confused:
The user will click on a n item in the DDL the click a button to delete it.
I have ben using
ddlAccomodationList.selectedItem.text
when the delete comand is selected it only returns the first item in the list, what ever I select.
If I set enableViewState to True, this solves the problem, but then means when the page is reloaded/refreshed, I get duplicate items in the list.
to re-load a page i redirect it to it's self using the below code:
responce.redirect(website.aspx)
Please help me I am in dire need.
:confused: :confused: