Tombstone & MVVM

Thread is closed for posting
2 posts, 0 answers
  1. Morgan
    Morgan avatar
    81 posts
    Member since:
    Dec 2009

    Posted 03 Feb 2012 Link to this post

    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.
  2. Deyan
    Deyan avatar
    2147 posts

    Posted 07 Feb 2012 Link to this post

    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,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top