Migrate from Q2 to Q3

6 posts, 0 answers
  1. Gladys
    Gladys avatar
    10 posts
    Member since:
    Jul 2009

    Posted 13 Nov 2009 Link to this post

    Hi there,

    i am trying to migrate from CoverFlow Q2 to Q3. What's the new event to replace the Navigate event handler from Q2? Thanks,

    -Gladys
  2. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 16 Nov 2009 Link to this post

    Hello Gladys,

    Here is an article that explains all changes made to the Q3 version of the control. Note that this blog post explains changes from Q2 to the beta release.  We have also changed some things from the beta onwards, the ItemWidth and ItemHeight as well as the ContentType has been removed. If you want to set the Width and Height of the items, you should define them in your ItemTemplate or through a style assigned to the ItemContainerStyle. Here is also an explanation on how to implement the missing navigation.

    If you have any questions concerning our new functionality, or anything else related to our Silverlight control, please contact us as soon as possible.

    Regards,
    Hristo Borisov
    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. Gladys
    Gladys avatar
    10 posts
    Member since:
    Jul 2009

    Posted 16 Nov 2009 Link to this post

    Hello Hristo,

    In my code using Q2, there is a event registered as below:
        this.coverFlow.Navigate += new EventHandler<Telerik.Windows.Controls.NavigateEventArgs>(coverFlow_Navigate);

    We have a table associate with the coverflow. When the coverflow moves around, different table rows get hightlighted.

    After I migrate to Q3, this event is no longer available. Can you tell me which event I can use to serve the same purpose?

    Thanks,
    -Gladys

  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 16 Nov 2009 Link to this post

    Hi Gladys,

    For your case I would recommend using the SelectionChanged event. Generally , you could treat RadCoverFlow as a regular ListBox, since aside of the 3D API, RadCoverFlow is a ListBox with a special ItemsPanel.

    Regards,
    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.
  6. Gladys
    Gladys avatar
    10 posts
    Member since:
    Jul 2009

    Posted 16 Nov 2009 Link to this post

    Thanks. This part is working fine now.

    One more thing is selectedItemMouseUp event. What's the replacement in Q3 for this event? I want to open up another window when the selected image in coverflow is clicked. I looked at your Data sample. Is there any other way to do it other than to use a button? I tried to use coverflow.MouseLeftButtonUp event but it was triggered everytime I tried to navigate the coverflow.

    Thanks,
    -Gladys
  7. Hristo Borisov
    Admin
    Hristo Borisov avatar
    298 posts

    Posted 17 Nov 2009 Link to this post

    Hi Gladys,

    You can either create a button in the ItemTemplate and wire up for its Click event as in our demos, or you can wire up for the MouseLeftButtonDown of every RadCoverFlowItem separately, which is not a good practice and we do not recommend it. In your case you are wiring up for the CoverFlow itself, instead of the items of the control. I hope this will resolve your issue.

    Thank you for contacting us.

    Best wishes,
    Hristo Borisov
    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
DevCraft banner