This is a migrated thread and some comments may be shown as answers.

Tombstone & MVVM

1 Answer 53 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Morgan
Top achievements
Rank 1
Iron
Morgan asked on 03 Feb 2012, 05:19 PM
What would be the best way to tell the DataboundListbox of the selected item upon restore from tombstone or (app restart from a kill)?  Assuming you had selected something in the listbox, previously.   Even though i set the SelectedItem property to TwoWay mode it doesn't reselect the appropriate item in the list box.  Any suggestions?  I have tried getting the value in the container and looking for it but this doesn't appear to get my anything remotely close.

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 07 Feb 2012, 09:55 AM
Hi Morgan,

Theoretically, having a two-way SelectedItem binding should correctly synchronize the selection in RadDataBoundListBox. However, there might be something specific to your particular scenario which breaks this behavior. Could you please give us some further details like:

1. Does the new selection update occur after you resume the application from thombstoned state?
2. Is the selection correctly updated when the application is in running state and the View Model binding source updates?

It will also be very helpful if you manage to isolate the issue in a separate project and send it to us for further investigation. You will have to open a new support ticket to do that.

Thanks for your time.

All the best,
Deyan
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
DataBoundListBox
Asked by
Morgan
Top achievements
Rank 1
Iron
Answers by
Deyan
Telerik team
Share this question
or