SelectedItem 2012_1_0321

6 posts, 0 answers
  1. Cristovao
    Cristovao avatar
    24 posts
    Member since:
    Jun 2012

    Posted 23 Mar 2012 Link to this post

    I've upgraded my project to the newer 2012_1_0321... but now the selectedItem isn't working anymore ...

    <telerikPrimitives:RadSlideView x:Name="radSlideView" Grid.Row="0" Grid.RowSpan="2"
                                              ItemsSource="{Binding Articles}" IsLoopingEnabled="True" SelectedItem="{Binding SelectedArticle}"
                                            
                                              AdjacentItemsPreviewMode="Next">


    Is there any changes to get it working?
  2. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 23 Mar 2012 Link to this post

    Hi Cristovao,

    We are not aware of such an existing issue. Could you please take a look at the attached project and let me know if I am missing anything. I'd be glad to further assist you.

    Regards,
    Kiril Stanoev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Cristovao
    Cristovao avatar
    24 posts
    Member since:
    Jun 2012

    Posted 23 Mar 2012 Link to this post

    Hi,

    The problem is not Getting the selectedItem but setting it :(

    public MainImageViewModel()
            {
                this.images = new ObservableCollection<ImageViewModel>();
                this.images.Add(new ImageViewModel("Chrysanthemum"));
                this.images.Add(new ImageViewModel("Desert"));
                this.images.Add(new ImageViewModel("Hydrangeas"));
                this.images.Add(new ImageViewModel("Jellyfish"));
                this.images.Add(new ImageViewModel("Koala"));
                this.images.Add(new ImageViewModel("Lighthouse"));
                this.images.Add(new ImageViewModel("Penguins"));
                this.images.Add(new ImageViewModel("Tulips"));
     
                SelectedItem = this.images[5];
            }

    Should this put the 5th item as the selected one?
  5. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 23 Mar 2012 Link to this post

    Hi Cristovao,

    Thank you for the clarification. I managed to reproduce and confirm the issue. A fix will be available with next week's internal build. In addition, I've updated your Telerik points accordingly. Let me know if you have further questions or comments.
     
    All the best,
    Kiril Stanoev
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  6. Matt
    Matt avatar
    1 posts
    Member since:
    Feb 2011

    Posted 03 May 2012 Link to this post

    Did that fix go into the internal build? - I couldn't see it in the version notes.
  7. Kiril Stanoev
    Admin
    Kiril Stanoev avatar
    1512 posts

    Posted 04 May 2012 Link to this post

    Hello Matt,

    Yes, the fix has been included in our latest internal build. However, for some reason that was not reflected in the release notes. Sorry for the inconvenience caused. Give it a try and let me know if you encounter any further questions. 

    Regards,
    Kiril Stanoev
    the Telerik team

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

Back to Top
DevCraft banner