Solved

silverligh  navigation

Posted on 2009-04-02
7
388 Views
Last Modified: 2013-11-12
I Dont Understand how To navigation Silverlight Pages
using simple C# Coding
0
Comment
Question by:chandresh43
7 Comments
 

Expert Comment

by:neilmcauliffe
Comment Utility
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
Comment Utility
its only switch pages
i want to navigate page
0
 
LVL 9

Expert Comment

by:peterdungan
Comment Utility
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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 6

Expert Comment

by:jarnsater
Comment Utility
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
Comment Utility
not work
is it possible in silverlight3
0
 
LVL 6

Expert Comment

by:jarnsater
Comment Utility
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 500 total points
Comment Utility
...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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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 …
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now