Nav Help examples get errors

4 posts, 0 answers
  1. Gary Blakely
    Gary Blakely avatar
    63 posts
    Member since:
    Jan 2010

    Posted 06 Mar 2010 Link to this post

    Unlike the other help documentation items, I am having trouble with the examples in the Navigation area.  For instance on the following page...
    XAML:
    <telerik:RadPage x:Class="PageNavigation.Page1"
           
    Title="Page1"
           
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
           xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"
           
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
       < StackPanel x:Name="LayoutRoot" Background="Azure">
       
    </StackPanel>
    </
    telerik:RadPage>

    .CS

    namespace

     

    TelerikRadChart.Views

     

    {

     

    public partial class RadPage1 : RadPage

     

    {

     

    public RadPage1()

     

    {

    InitializeComponent();

    }

    }

    }


    I get an error saying InitializeComponent does not exist in the current context!

    Also, from a general guidance standpoint, if I want to create a large application using Telerik navigation should the initial template be a Silverlight Business Application which has standard Silverlight Navigation built in.

    Also, is there an example of a working Telerik Nagivation application?
    Thanks,
    Gary
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 09 Mar 2010 Link to this post

    Hello Gary Blakely,

    thank you for reporting this. The problem is that the namespace in the code behind is wrong:

    namespace TelerikRadChart.Views, it should be
    namespace PageNavigation


    It is not recommended to use the Telerik page navigation in a new project. The framework is left only for backward compatibility for apps that were built with SL2.

    It is recomended to use the navigation framework that ships with SL3+ for new projects.

    All the best,
    Valentin.Stoychev
    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. Gary Blakely
    Gary Blakely avatar
    63 posts
    Member since:
    Jan 2010

    Posted 09 Mar 2010 Link to this post

    Valentin:
    Thanks for the answers...  But the navigation that comes with SL3 doesn't have the cool transitions.  Can your transitions somehow be applied to the standard SL3 navigation?
    Thanks,
    Gary
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 09 Mar 2010 Link to this post

    Hi Gary Blakely,

    Yes - it is possible. There are many articles that show that. Check these for example:
     - http://firstfloorsoftware.com/blog/animated-page-navigation-in-sl3/
     - or this video - http://videos.visitmix.com/MIX09/C21F 

    Regards,
    Valentin.Stoychev
    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