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

How to prevent TransitionControl to change my URL

7 Answers 58 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
IBST
Top achievements
Rank 1
IBST asked on 27 Apr 2011, 05:09 PM
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

7 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 28 Apr 2011, 12:28 PM
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
0
IBST
Top achievements
Rank 1
answered on 28 Apr 2011, 12:47 PM
but ... but .. in you example you use frame and the URL doesn't change ... or i'm wrong?
0
George
Telerik team
answered on 03 May 2011, 08:05 PM
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
0
IBST
Top achievements
Rank 1
answered on 17 Jun 2011, 05:25 PM
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
0
Pana
Telerik team
answered on 20 Jun 2011, 07:43 AM
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
0
IBST
Top achievements
Rank 1
answered on 20 Jun 2011, 10:38 AM
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
0
Pana
Telerik team
answered on 24 Jun 2011, 07:25 AM
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
Tags
TransitionControl
Asked by
IBST
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
IBST
Top achievements
Rank 1
George
Telerik team
Pana
Telerik team
Share this question
or