Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

silverligh  navigation

Posted on 2009-04-02
7
Medium Priority
?
395 Views
Last Modified: 2013-11-12
I Dont Understand how To navigation Silverlight Pages
using simple C# Coding
0
Comment
Question by:chandresh43
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 

Expert Comment

by:neilmcauliffe
ID: 24048478
Navigating in silverlight kind of goes back to windows form method of doing things check out the following video its pretty easy

http://silverlight.net/learn/learnvideo.aspx?video=56933

0
 
LVL 5

Author Comment

by:chandresh43
ID: 24050889
its only switch pages
i want to navigate page
0
 
LVL 9

Expert Comment

by:peterdungan
ID: 24051516
the switch pages method is the only way to navigate between pages inside a silverlight application in silverlight 2. I think this is different in SL3. It has the exact same effect as navigating pages.

Unless you mean you want to change pages in the browser (different urls)? Just use a hyperlinkbutton to do that.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 6

Expert Comment

by:jarnsater
ID: 24053389
In Silverlight 3, there is built in support for deep linking and proper navigation via the browser's back/forward buttons.

But you can actually do this already in Silverlight 2 providing that your host has ASP.NET 3.5 SP1 installed.

Check out this link, just copy the code (some javascript and c#) they've written and you're set!
http://blog.webjak.net/2008/09/08/control-silverlight-by-using-browser-back-and-foward-buttons/
 
0
 
LVL 5

Author Comment

by:chandresh43
ID: 24056515
not work
is it possible in silverlight3
0
 
LVL 6

Expert Comment

by:jarnsater
ID: 24067422
I'm sorry, I don't understand your comment. It is built in in Silverlight 3 and very easy to use, but you _can_ use it Silverlight 2 (with the code from the link above). We use it in a commercial product we are creating with Silverlight 2 and WCF and it works great!
0
 
LVL 6

Accepted Solution

by:
jarnsater earned 2000 total points
ID: 24067435
...here's how it works in Silverlight 3:
http://silverlight.net/learn/learnvideo.aspx?video=187319

If your app is not launching until end of this year, you might want to go that route. If you need to ship your app earlier, I recommend using the link perviously posted. That requires ASP.NET 3.5 ServicePack1 though (the servicepack is important, otherwise it won't work)
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question