Radtransition control and frames

3 posts, 1 answers
  1. Hari
    Hari avatar
    13 posts
    Member since:
    Jun 2011

    Posted 22 Apr 2013 Link to this post

    <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. Answer
    George
    Admin
    George avatar
    1332 posts

    Posted 25 Apr 2013 Link to this post

    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.

  3. DevCraft banner
  4. Hari
    Hari avatar
    13 posts
    Member since:
    Jun 2011

    Posted 25 Apr 2013 Link to this post

    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
Back to Top