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

Nav Help examples get errors

3 Answers 25 Views
Navigation
This is a migrated thread and some comments may be shown as answers.
Gary Blakely
Top achievements
Rank 1
Gary Blakely asked on 07 Mar 2010, 12:32 AM
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

3 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 09 Mar 2010, 09:01 AM
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.
0
Gary Blakely
Top achievements
Rank 1
answered on 09 Mar 2010, 03:23 PM
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
0
Valentin.Stoychev
Telerik team
answered on 09 Mar 2010, 03:34 PM
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.
Tags
Navigation
Asked by
Gary Blakely
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Gary Blakely
Top achievements
Rank 1
Share this question
or