Wizard with Transition Control

6 posts, 0 answers
  1. Mike Hanson
    Mike Hanson avatar
    2 posts
    Member since:
    Dec 2009

    Posted 01 Apr 2010 Link to this post

    Could someone help me with implementing a Wizard with the RadTransition control and several UserControls.

    Basically we have 5 UserControls that represent the pages of a complex wizard.  At the moment we have a hand coded slide animation that animates the pages in and out, but we have a requirement to support a user choice of animation in the future and the RadTransition control fits perfectly for this.

    I have tried following the code in the samples putting our UserControls in a Listbox and binding to the SelectedItem but cannot get this to work.

    Our current implementation has all 5 pages added to a Grid column and all but the first one are moved off to the right out of view by setting the X of their TranslateTransform element.  Then as the user clicks on Next or Back code is executed to slide the current page out and the new page in.  I was hoping to be able to replace the content of the grid column with a RadTransition control and have it take responsibility for animating the pages in and out.

    We aren't using the Silverlight or Telerik navigation features because we don't want users to be able to navigate to wizard pages using a url and we also had trouble with pages being cached that meant we had to do more state management than was reasonable.
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 05 Apr 2010 Link to this post

    Hi Mike,

    Thank you for contacting us.

    Attached you will find a sample project in which it is demonstrated a possible use of the TransitionControl. The thing which is important is that the TransitionControl is used as a ContentControl.
    Hope this will help.

    Please let us know if you have further questions.

    All the best,
    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. Mike Hanson
    Mike Hanson avatar
    2 posts
    Member since:
    Dec 2009

    Posted 28 Apr 2010 Link to this post

    Thanks for the example Konstantina.  It wasn't quite what I was after as it used the navigation framework, but the tip about it being a ContentControl was what I needed.  With this knowledge I figured out that all I need to do is provide a ControlTemplate for any control that supports a Content property and have the template set this property to an isntance of the TransitionControl.

  5. ewart
    ewart avatar
    221 posts
    Member since:
    Jan 2007

    Posted 30 Apr 2010 Link to this post

    Mike, could you please elaborate on your approach a little more - maybe a few sample lines of code?  For us, adding another 74K System.Windows.Controls.Navigation.dll is not an option so trying to avoid the frame approach if possible.

  6. M
    M avatar
    1 posts
    Member since:
    Jun 2011

    Posted 16 Jun 2011 Link to this post


    I am looking for a similar solution. Will you please share?
  7. Binyam
    Binyam avatar
    4 posts
    Member since:
    May 2012

    Posted 03 May 2014 Link to this post

    what if I want with RadDataForm... for validation and to work with Domain Service?
Back to Top
DevCraft banner