By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,187 Members | 1,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,187 IT Pros & Developers. It's quick & easy.

How Do I Roll Back A SelectedIndex Change If I Don't Like It

P: n/a
I am making a webpage. On it I have a couple of dropdownlists that
work in conjunction. I have them autopostback, and I check for
conflicts within the SelectedIndexChanged event handler. By mistake,
some time ago, I had the dropdownlist not commit the change when the
page was posted back and a conflict was detected. For the life of me,
I cannot remember how I did it.

To be clear: when a user makes a change, I want to evaluate it, and if
I don't like it, I want to return them a page with the previous
selected index selected, (without keeping track of what the previous
selected index was). I believe I can somehow shortcircuit the changing
mechanism of the dropdownlist.

Please, help an alzheimers charity case.

Thank you.

Aug 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.