How to prevent TransitionControl to change my URL

8 posts, 0 answers
  1. IBST
    IBST avatar
    10 posts
    Member since:
    Feb 2011

    Posted 27 Apr 2011 Link to this post

    Hello,

    When I saw the Transition Control Example I said to me that this was control that I want to roll over my highlights in my WebSite. When I implement it, I notice that my URL changes everytime I jump to a XAML in the Transition Control.

    I check on your exemple and works like I want. Can you please explain how can I do that?

    My transition slides need to be XAML because I have some cool animations and hot zones in the banner.


    Regards
    Paulo Aboim Pinto
    Odivelas - Portugal
  2. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 28 Apr 2011 Link to this post

    Hi Paulo,

    What I suspect is that you are using navigation Frame with the TransitionControl and what changes your URL is the navigation Frame but not the TransitionControl. What I would suggest you is not use Frame if you don't want to have different URLs for the different pages, but just change the Content of the TransitionControl.

    Best wishes,
    Miroslav Nedyalkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. IBST
    IBST avatar
    10 posts
    Member since:
    Feb 2011

    Posted 28 Apr 2011 Link to this post

    but ... but .. in you example you use frame and the URL doesn't change ... or i'm wrong?
  5. George
    Admin
    George avatar
    1332 posts

    Posted 03 May 2011 Link to this post

    Hello Paulo,

     
    Could you please specify which is this example? This will definitely shed some light and it will help us in further pinpointing the problem.

    I am glad to assist you further.

    Greetings,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. IBST
    IBST avatar
    10 posts
    Member since:
    Feb 2011

    Posted 17 Jun 2011 Link to this post

    this is the example

    http://demos.telerik.com/silverlight/#TransitionControl/Rotator

    according with C# example use frames and don't change the URL


    Regards
    Paulo Aboim Pinto
  7. Pana
    Admin
    Pana avatar
    748 posts

    Posted 20 Jun 2011 Link to this post

    Hello,

    Am, the QSF has a Frame that holds the examples and inside them there is another one with the transition control. If you want to avoid the URI changing you could try putting the whole thing in another Frame or better just use an ItemsControl with the ad rotator behavior (as Mirozlav Nedyalkov pointed out).

    The example you refer is based on this blog. It may be helpful.

    Best wishes,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  8. IBST
    IBST avatar
    10 posts
    Member since:
    Feb 2011

    Posted 20 Jun 2011 Link to this post

    tkx for the ansewer.
    Your post it's about imagens. What we want it's loading a XAML, because, in the XAML we can have diferent links and buttons  and in the imagem, we can have only one link.

    How can I implement a way to load XAML with rotator using the Content property?

    Regards
    Paulo Aboim Pinto
    Odivelas - Portugal
  9. Pana
    Admin
    Pana avatar
    748 posts

    Posted 24 Jun 2011 Link to this post

    Hi,

    Create several UserControls like UC1, UC2, UC3 etc. Then instead of putting Image items in the Collection add the user controls.

    Other way would be to implement the rotator yourself. Add a ContentControl on the page. Create a DispatcherTimer, Start it and on each tick change the Content property of the ContentControl with your custom UserControls. You can then replace the ContentControl with RadTransitionControl and it should still work this time with transitions.

    Regards,
    Pana
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner