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

Radtransition control and frames

2 Answers 66 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Hari
Top achievements
Rank 1
Hari asked on 22 Apr 2013, 03:59 PM
<ControlTemplate TargetType="navigation:Frame" x:Name="MainFramtransition">
                    <telerik:RadTransitionControl Content="{TemplateBinding Content}"  
            ContentTemplate="{TemplateBinding Content}" >
                        <telerik:RadTransitionControl.Transition  >
                            <effects:RollTransition />
                        </telerik:RadTransitionControl.Transition>
                    </telerik:RadTransitionControl>
                </ControlTemplate>
            </navigation:Frame.Template>

I am trying to do the following senario.

I have a main frame which has a radtraisitioncontrol with rolltransition effect.

Inside this frame, i have another frame also. (attaching the structure for referance)

When i adding the radtransition control to subframe as below

<navigation:Frame x:Name="SubContents" Margin="5,0,5,5" MaxWidth="1000" Grid.Column="0" Grid.Row="3"  ScrollViewer.VerticalScrollBarVisibility="Visible" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                          Source="/page2">
                   <navigation:Frame.Template>
                       <ControlTemplate   x:Name="SubFramtransition" TargetType="navigation:Frame">
                           <telerik:RadTransitionControl Content="{TemplateBinding Content}"  >
                               <telerik:RadTransitionControl.Transition  >
                                   <effects:RollTransition />
                               </telerik:RadTransitionControl.Transition>
                           </telerik:RadTransitionControl>
                       </ControlTemplate>
                   </navigation:Frame.Template>

The mianfram contians below code for radtranstioncontrol

But when i run the application and the mainframe is loaded, it throws un_expected_error in client side and there is no detials avialable.

could you please help?

2 Answers, 1 is accepted

Sort by
0
Accepted
George
Telerik team
answered on 25 Apr 2013, 01:55 PM
Hello Hari,

 
We are not aware of such problems with RadTransitionControl. I prepared a sample project to simulate the given scenario - you can find it attached. Can you please look at it and let me know if I missed something? I am glad to assist you further.

Regards,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Hari
Top achievements
Rank 1
answered on 25 Apr 2013, 03:08 PM
Thanks George,

The example helped. The problem was how i was arranging the controls. :( I was using a scrollview and inside the scroll viewer there was different controls including the frame. When i took the frame outside it worked for me.

Anyway the example you send helped to find the excat problem :)
Regards
Hari
Tags
TransitionControl
Asked by
Hari
Top achievements
Rank 1
Answers by
George
Telerik team
Hari
Top achievements
Rank 1
Share this question
or