Ryan

The problem with that is that I have no idea if button2 was the one selected or not. It could have been button1 or button4 or no button at all. So selecting Button2 if the user cancels wouldnt make sense...

Kiril Nikolov

However I am not really sure that I understand exactly what your scenario is and what exactly you are trying to achieve. Can you please create a quick sample in a jsBin (you can use this one as a reference -http://jsbin.com/katocoqu/1/edit ) so we can better understand the problem?

Ryan

Click on any of the following: Option0, Option1, or Option3. Then click on Option4, and when the dialog comes up choose Cancel.

After choosing Cancel, there is no way to have it go back to the correct button. I have it doing a select() on Option2, but that isn't correct if in the above you first clicked Option0, Option1, or Option3.

Kiril Nikolov

The problem comes from the fact that when the select events it fired this.current().select() index holds the elements that invoked the selection - in your case the last elements. In order to achieve the functionality that you are looking for you need to persists the previous selection of the widget. I have created a small example, showing a possible implementation here:

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.