Get control inside RadSlideView

5 posts, 0 answers
  1. Khanh
    Khanh avatar
    4 posts
    Member since:
    Jul 2013

    Posted 10 Aug 2013 Link to this post

    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. 
  2. Khanh
    Khanh avatar
    4 posts
    Member since:
    Jul 2013

    Posted 10 Aug 2013 Link to this post

    Sorry that I bother you guys, I resolved this. It was my mistake in implementing code :(
  3. DevCraft banner
  4. Bernard
    Bernard avatar
    3 posts
    Member since:
    Mar 2013

    Posted 02 Oct 2013 Link to this post

    Hello,

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

    thanks
  5. Khanh
    Khanh avatar
    4 posts
    Member since:
    Jul 2013

    Posted 03 Oct 2013 Link to this post

    Try this code
    var Player= ElementTreeHelper.FindVisualDescendant<MediaElement>(slideView.SelectedItemContainer);
  6. Bernard
    Bernard avatar
    3 posts
    Member since:
    Mar 2013

    Posted 03 Oct 2013 Link to this post

    thx
Back to Top
DevCraft banner