Possible to force SynchronizeProperties on SimpleListViewVisualItem?

3 posts, 1 answers
  1. Karl
    Karl avatar
    35 posts
    Member since:
    Dec 2013

    Posted 02 Sep 2014 Link to this post

    I have set up a custom SimpleListViewVisualItem and I would like the display to update when some of my properties change. SynchronizeProperties appears to only be called when I select a different item in the list. Is there a way to force SynchronizeProperties to be called from my code?

  2. Karl
    Karl avatar
    35 posts
    Member since:
    Dec 2013

    Posted 02 Sep 2014 in reply to Karl Link to this post

    Sorry for the duplicate posts but the website gave me an error when I submitted the question so I assumed it didn't work :(
  3. DevCraft R3 2016 release webinar banner
  4. Answer
    George avatar
    500 posts

    Posted 05 Sep 2014 Link to this post

    Hello Karl,

    Thank you for writing.

    You can call the SynchronizeVisualItems method of RadListViewElement which will synchronize all the visual items with their respective data items and invoke VisualItemFormatting event:

    I've closed your other thread in order to avoid any confusion.

    Let me know if you have other questions.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top