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

LoopingList template

1 Answer 83 Views
MetroDesignTemplates
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
des white
Top achievements
Rank 1
des white asked on 19 Jun 2012, 04:12 PM
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


1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 20 Jun 2012, 08:44 AM
Hello,

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.

Regards,
Todor
the Telerik team

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

Tags
MetroDesignTemplates
Asked by
des white
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or