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

Migrate from Q2 to Q3

5 Answers 58 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Gladys
Top achievements
Rank 1
Gladys asked on 13 Nov 2009, 05:13 PM
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

5 Answers, 1 is accepted

Sort by
0
Hristo Borisov
Telerik team
answered on 16 Nov 2009, 08:26 AM
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.
0
Gladys
Top achievements
Rank 1
answered on 16 Nov 2009, 03:16 PM

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

0
Valeri Hristov
Telerik team
answered on 16 Nov 2009, 03:48 PM
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.
0
Gladys
Top achievements
Rank 1
answered on 16 Nov 2009, 08:17 PM
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
0
Hristo Borisov
Telerik team
answered on 17 Nov 2009, 01:02 PM
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.
Tags
CoverFlow
Asked by
Gladys
Top achievements
Rank 1
Answers by
Hristo Borisov
Telerik team
Gladys
Top achievements
Rank 1
Valeri Hristov
Telerik team
Share this question
or