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

Get control inside RadSlideView

4 Answers 84 Views
SlideView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Khanh
Top achievements
Rank 1
Khanh asked on 10 Aug 2013, 06:05 AM
Hi Telerik,
My problem is I got some control in the slideview, I need to get access to that control, I try visual helper but it's not okay, the SelectedItemContainer is always null. Please show me how to get it!
For more specific, I have a ScrollViewer in template, I need the ScrollViewer to scroll to top whenever selection changed. 

4 Answers, 1 is accepted

Sort by
0
Khanh
Top achievements
Rank 1
answered on 10 Aug 2013, 08:06 AM
Sorry that I bother you guys, I resolved this. It was my mistake in implementing code :(
0
Bernard
Top achievements
Rank 1
answered on 02 Oct 2013, 09:52 PM
Hello,

could you tell us how please. i have to programmaticaly access to a mediaelement.

thanks
0
Khanh
Top achievements
Rank 1
answered on 03 Oct 2013, 09:39 AM
Try this code
var Player= ElementTreeHelper.FindVisualDescendant<MediaElement>(slideView.SelectedItemContainer);
0
Bernard
Top achievements
Rank 1
answered on 03 Oct 2013, 01:23 PM
thx
Tags
SlideView
Asked by
Khanh
Top achievements
Rank 1
Answers by
Khanh
Top achievements
Rank 1
Bernard
Top achievements
Rank 1
Share this question
or