Hi,
I have some code that allows a user to trigger an action from a choice in a DropDownList. After this action has completed, I would like to reset the index/value of the DropDownList to the first Item on the list (Index = 0).
I am attempting to trigger the action on the SelectedIndexChanged event, but it will not allow me to change the index within the event. I can change this value within another event, but I am not sure which one to use... In the past, using Windows Forms, we have used the SelectionChangeCommitted event to do the reset, aftert the event was kicked off with the SelectedIndexChanged event. What events/event order do I need to accomplish the above scenario?
Thanks
Laura
I have some code that allows a user to trigger an action from a choice in a DropDownList. After this action has completed, I would like to reset the index/value of the DropDownList to the first Item on the list (Index = 0).
I am attempting to trigger the action on the SelectedIndexChanged event, but it will not allow me to change the index within the event. I can change this value within another event, but I am not sure which one to use... In the past, using Windows Forms, we have used the SelectionChangeCommitted event to do the reset, aftert the event was kicked off with the SelectedIndexChanged event. What events/event order do I need to accomplish the above scenario?
Thanks
Laura