Change Image information in sync with images

4 posts, 0 answers
  1. Shai Das
    Shai Das avatar
    2 posts
    Member since:
    Nov 2009

    Posted 12 Nov 2009 Link to this post


    I am chasing something similiar to this solution

    http://www.darickcarpenter.com/samples/coverflow/


    I have seen the data info demo that is posted but that would mean increasing the number of clicks required to see the info. Can someone guide me as to whether this can be achieved and an example if possible.

    Thanks
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 12 Nov 2009 Link to this post

    Hello Shai,

    I would recommend creating a class, that contains properties for the Image Url and the info you need to display below. Create a collection (data base driven, I guess) that contain instances of that class and data-bind RadCoverFlow, as we show in our demos:
    http://demos.telerik.com/silverlight/#CoverFlow/DataBinding

    Below the CoverFlow you could add several TextBlocks (or other controls, depending on your preferences) and bind them to the SelectedItem property of RadCoverFlow.

    Sincerely yours,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Shai Das
    Shai Das avatar
    2 posts
    Member since:
    Nov 2009

    Posted 12 Nov 2009 Link to this post

    Thanks for your reply Valeri. So basically to break it down

    1. Create observable collection 1 and add image url to the collection
    2. Create observable collection 2 and add image description to the collection
    3. Assign coverflow source as 1 and 2 above ( Not sure how this is achieved ??)
    4. On change of the slider/scroll bar or On Change of the Coverflow , populate the the text block with the image description (Is there an on change event ? How will I extract the description from the coverflow selcted item ?)


    My apologies if the questions sound dumb but I am not very familiar with the product or silver light

    Thanks

    Shai
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 13 Nov 2009 Link to this post

    Hi Shai,

    Please, find attached the slightly modified application from my blog post about data-binding RadCoverFlow:
    http://blogs.telerik.com/valerihristov/posts/09-11-05/data-binding_telerik_coverflow_for_silverlight_some_routed_commands_goodness.aspx

    Please, check the blog for more details about the application and do not hesitate to contact us again if you have additional questions.

    Greetings,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top