J
john
I have a dropdown with a SelectedIndexChanged event handler. I want
the event to only get called if the dropdown list was the control that
caused the postback. But if the value of the list is changed by the
user and then some other control causes the postback, the event
handler still gets called. Is there some way to ignore the event
handler unless the dropdown is the control that caused the postback?
Or is there a way for me to tell which control caused the postback so
I can ignore the event if I want to?
thanks in advance.
the event to only get called if the dropdown list was the control that
caused the postback. But if the value of the list is changed by the
user and then some other control causes the postback, the event
handler still gets called. Is there some way to ignore the event
handler unless the dropdown is the control that caused the postback?
Or is there a way for me to tell which control caused the postback so
I can ignore the event if I want to?
thanks in advance.