Data Virtualization OnDemandManual

3 posts, 1 answers
  1. Danny
    Danny avatar
    11 posts
    Member since:
    Sep 2013

    Posted 23 Jun 2015 Link to this post

    Hi 

    I am trying to implement the OnDemandManual option and am following the example provided at http://www.telerik.com/help/windows-phone/raddataboundlistbox-features-datavirtualization-ondemandmanual.html The code for the button's click event is missing in the example. What is the correct way to link the button's click event to the DataBoundListBox DataRequested event?

  2. Answer
    Ves
    Admin
    Ves avatar
    2879 posts

    Posted 25 Jun 2015 Link to this post

    Hi Danny,

    In the button's Click event handler you need to call the DataRequested event handler manually. You will not need to send any event args. Please, find an example in our Quick Start Framework:
    C:\Program Files (x86)\Telerik\UI for Windows Phone 8 Q2 2015\QSF\Examples.WindowsPhone\DataBoundListBox\OnDemand.xaml.

    In manual mode, OnListBox_DataRequested is called once on initial load and then it is called from within the button Click event handler.

    Best regards,
    Ves
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
  4. Danny
    Danny avatar
    11 posts
    Member since:
    Sep 2013

    Posted 27 Jun 2015 in reply to Ves Link to this post

    Perfect thank you!
Back to Top