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

[Solved] BackContent's DataContext breaks when PictureSource is set

1 Answer 66 Views
HubTile for XAML
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
mark
Top achievements
Rank 1
mark asked on 10 Feb 2013, 09:46 PM
I want to bind PictureSource to a collection of <string> that I generate on my video model but when I do this and then setup a DataTemplate for use with the BackContent, it thinks its data context is the collection of string. I have a complex dataTemplate that has numerous bindings in it so the way PictureSource binding appears to blow away the data context of the control itself is very problematic.

UPDATE: It appears I had accidentially had BackContent bound to something that was causing the problem. Please disregard. I needed to have the BackContent bound to ="{Binding }". This made it work as expected!

1 Answer, 1 is accepted

Sort by
0
Ivaylo Gergov
Telerik team
answered on 11 Feb 2013, 09:25 AM
Hello Mark,

I am happy that you have found what caused the problem. If any other issues arise do not hesitate to write us back.

 

Greetings,
Ivaylo Gergov
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
HubTile for XAML
Asked by
mark
Top achievements
Rank 1
Answers by
Ivaylo Gergov
Telerik team
Share this question
or