LoopingList template

Thread is closed for posting
2 posts, 0 answers
  1. des white
    des white avatar
    14 posts
    Member since:
    Sep 2009

    Posted 19 Jun 2012 Link to this post

    Hi Gurus,

    I'm trying to get one of the LoopingList templates to work.
    I have my own view model which is linked to a Local SQL CE Database.

    Can I ignore the MainLoopingListDataViewModel and bind directly to my own view model?
    for example
    this.DataContext = App.ViewModel;

    I have my images stored as Binary/ByteArrays in my LocalDatabase but Im guessing I cant just bind these directly to the RadLoopingList?
    Will the radlooping list only accept a LoopingListDataSource as its DataSource?

    Will I be able to create a LoopingListDataSource that contains and Image?

    Many Thanks, Des

  2. Todor
    Todor avatar
    798 posts

    Posted 20 Jun 2012 Link to this post


    Thank you for your question.

    Yes, you can have you own ViewModel, but your DataSource should be a LoopingListDataSource. You can change the LoopingListDataItem, so that it better suits your needs and you can see how we have created our LoopingListDataSource as it also includes images. More information about LoopingListDataSource is available in our online documentation.

    I hope this information helps.

    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top