Hi!
I currently have a listbox which is generated from a DB. When I select an item in the listbox and then press a button it will generate an image from a DB. This works fine, but I want to get rid of the button and just have the listbox generate the image when I press the selected item in the listbox. Anyone know how this works?
I have tried to get the data with
1. lstmovies_Click()
2. lstmovies_SelectedIndexChanged
and call for the Sub in the asp:listbox OnClick="lstMovies_Click/lstMovies_SelectedIndexChanged
..but either way I get an error saying lstMovies_Click or lstMovies_SelectedIndexChanged is UNDEFINED..
I just want to drop the button and let the listbox take care of the action...
Regards,
Tommy
I currently have a listbox which is generated from a DB. When I select an item in the listbox and then press a button it will generate an image from a DB. This works fine, but I want to get rid of the button and just have the listbox generate the image when I press the selected item in the listbox. Anyone know how this works?
I have tried to get the data with
1. lstmovies_Click()
2. lstmovies_SelectedIndexChanged
and call for the Sub in the asp:listbox OnClick="lstMovies_Click/lstMovies_SelectedIndexChanged
..but either way I get an error saying lstMovies_Click or lstMovies_SelectedIndexChanged is UNDEFINED..
I just want to drop the button and let the listbox take care of the action...
Regards,
Tommy