Scenario:
1) a button click event occurs, causing initial post
event - renders a page displaying some data from a query
2) a dynamically-populated radiobutton choice is clicked,
triggering IsPostback event, then radiobutton clicked event.
3) next step desired: radiobutton click causes 1 of 2
possible outcomes:
* some radiobuttons are to display a listbox
(to narrow subset of desired records)
* others just display records associated with the
radiobutton clicked (no further narrowing needed)
Quandry: In step 3) if I create the dynamic listbox I am unable to trigger the listbox SelectedIndexChanged event
unless AutoPostBack = true, but if autopostback is enabled
the listbox "click" selectedIndex no longer exists by the time the server postback happens. is there
any way (ViewState?) to trap the listbox that was clicked
before the postback happens?
1) a button click event occurs, causing initial post
event - renders a page displaying some data from a query
2) a dynamically-populated radiobutton choice is clicked,
triggering IsPostback event, then radiobutton clicked event.
3) next step desired: radiobutton click causes 1 of 2
possible outcomes:
* some radiobuttons are to display a listbox
(to narrow subset of desired records)
* others just display records associated with the
radiobutton clicked (no further narrowing needed)
Quandry: In step 3) if I create the dynamic listbox I am unable to trigger the listbox SelectedIndexChanged event
unless AutoPostBack = true, but if autopostback is enabled
the listbox "click" selectedIndex no longer exists by the time the server postback happens. is there
any way (ViewState?) to trap the listbox that was clicked
before the postback happens?