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

Open/close popup animation

8 Answers 164 Views
ListPicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
OTMOP
Top achievements
Rank 2
OTMOP asked on 28 Jun 2012, 07:22 PM
Hello.

Is it possible to enable open and close popup animation in the last release of WP7 components (I'm using  v.2012.2 607)?

Alexander.

8 Answers, 1 is accepted

Sort by
0
Lancelot
Top achievements
Rank 1
answered on 29 Jun 2012, 03:18 PM
Hi Alexander,

In order to enable the popup animation, you should set the InlineModeThreshold to less than the amount if items in your collection. This will force the ListPicker to use the popup view. Make sure you have a PopupItemTemplate prepared to handle the popup items. So if you have a list of 8 items and you set the threshold below 8 like this: InlineModeThreshold="5", you will get the popup.

Using the Telerik RadControls for Windows Phone example app as a reference, this PopupItemTemplate will populate with your items when the RadListPicker is tapped.

<telerikInput:RadListPicker.PopupItemTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal" Margin="0, 27, 0, 24">
                                <Rectangle Fill="{Binding ColorName}" Width="43" Height="43"/>
                                <TextBlock Text="{Binding ColorName}" Margin="16 -8 0 0"/>
                            </StackPanel>
                        </DataTemplate>
                    </telerikInput:RadListPicker.PopupItemTemplate>


You can find the example application source code by looking in your telerik folder on your pc. If you installed it to the default directory, you will find it here: C:\Program Files (x86)\Telerik\RadControls for Windows Phone 7 Q2 2012\Examples. Just open the solution, look for the project named ListPicker, then open the file named Modes.xaml.

Good Luck,
Lancelot

0
OTMOP
Top achievements
Rank 2
answered on 29 Jun 2012, 03:52 PM
Hi, Lancelot.

Thank you for your answer, but this not works in v.2012.2 607 (and animations not work in the example application too). 

I think this is because new implementation of ListPicker. I already had some issues with last version of the components.
(http://www.telerik.com/community/forums/windows-phone/listpicker/unhandled-exception-and-application-crash-after-update-to-2012-2-607.aspx)

P.S. Sorry for my bad english.
0
Lancelot
Top achievements
Rank 1
answered on 29 Jun 2012, 04:05 PM
Hi Alexander,

I'm not sure exactly what animations you are trying to achieve. There have a been a couple breaking changes, but if you could provide me with the code that you are using, I can reproduce the problem and provide you with a solution.

Lancelot
0
OTMOP
Top achievements
Rank 2
answered on 29 Jun 2012, 04:38 PM
I'm talking about item animation when ListPicker opens and closes (each item has animation).
There is video (2 versions): Video

There is simple sample code (you can compile it with old and new versions of the Telerik WP7 Components)
Download

Alexander.

0
Kiril Stanoev
Telerik team
answered on 02 Jul 2012, 07:44 AM
Hi Alexander,

Thank you for reporting this issue. I can confirm that with our latest official release, no animation is being played when opening RadListPicker's popup. This is due to the fact that now RadListPicker uses internally RadDataBoundListBox for its popup scenarios. I've logged this issue in our backlog and we will do our best to fix it as soon as possible. Meanwhile, let us know if you encounter any further obstacles. I've also updated your Telerik points accordingly. 

Greetings,
Kiril Stanoev
the Telerik team

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

0
Alex
Top achievements
Rank 2
answered on 05 Jul 2012, 07:54 AM
I have the same issue after update. Please, fix it.
0
Alex
Top achievements
Rank 2
answered on 09 Oct 2012, 12:16 PM
Please, fix it, it looks really bad without animation. It doesn't look like native popup.
0
Deyan
Telerik team
answered on 12 Oct 2012, 06:23 AM
Hello Alex,

This issue has already been addressed in our latest Internal Build. The fix will also be included in the official Q3 2012 release of RadControls for Windows Phone.

Let me know if you have further questions or need assistance. 

Greetings,
Deyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ListPicker
Asked by
OTMOP
Top achievements
Rank 2
Answers by
Lancelot
Top achievements
Rank 1
OTMOP
Top achievements
Rank 2
Kiril Stanoev
Telerik team
Alex
Top achievements
Rank 2
Deyan
Telerik team
Share this question
or