3 Answers, 1 is accepted
0
Hello pranav,
It is not clear enough what did you mean by "redirect to a page". If you mean using Silverlight Navigation framework then please take a look at the following:
http://silverlight.net/learn/videos/silverlight-videos/navigation-framework/
http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx
As to the PanelBar you can use Selected event.
Each time when you change the selected panelbaritem you can have something like:
I hope that this will help you.
Greetings,
Bobi
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.
It is not clear enough what did you mean by "redirect to a page". If you mean using Silverlight Navigation framework then please take a look at the following:
http://silverlight.net/learn/videos/silverlight-videos/navigation-framework/
http://www.silverlightshow.net/items/The-Silverlight-3-Navigation-Framework.aspx
As to the PanelBar you can use Selected event.
Each time when you change the selected panelbaritem you can have something like:
this.MainContent.Navigate( new Uri( "/Views/Home.xaml", UriKind.Relative ) );
I hope that this will help you.
Greetings,
Bobi
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
pranav
Top achievements
Rank 1
answered on 18 Feb 2010, 06:24 AM
hi,
i am using silver light -
i am using silver light -
<
telerikNavigation:RadPanelBar x:Name="pb">
private
void OnPanelBarEvent(object sender, RadRoutedEventArgs e)
{
RadPanelBarItem panelBarItem = e.Source as RadPanelBarItem;
TextBlock header = panelBarItem.Header as TextBlock;
if (header != null)
{
//this.Log(e.RoutedEvent.Name, header.Text);
//MessageBox.Show(header.Text);
}
else
{
//this.Log(e.RoutedEvent.Name, panelBarItem.ToString());
MessageBox.Show(panelBarItem.ToString());
}
}
i have created this method on .axml.cs page, so from here i need to redirect to new page..
how that should be done?
thnx
pranav
0
Hi Pranav,
All the best,
Tina Stancheva
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.
Since you didn't mention whether you want to navigate to internal Silverlight pages or to URLs external to your Silverlight application, I implemented a sample that demonstrates both cases.
Please take a look at the example and let me know if it helps.
Please take a look at the example and let me know if it helps.
All the best,
Tina Stancheva
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.