Response.Redirect in silverlight

ho i write Response.Redirect  in silverlight
LVL 5
chandresh43Asked:
Who is Participating?
 
CSecurityCommented:
You should do this:

HtmlPage.Navigate(new Uri(HtmlPage.DocumentUri, "youraspxfile.aspx").ToString());
0
 
CSecurityCommented:
See this, there is some examples for it:
http://forums.silverlight.net/forums/p/1510/11984.aspx
0
 
liorfrCommented:
Hi,
try
HtmlPage.Window.Navigate(new Uri("http://microsoft/mypage.aspx"));

Lior
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
liorfrCommented:
or this way:

HtmlPage.Navigate("http://expression.microsoft.com/en-us/default.aspx", "Expression Community");

Lior
0
 
chandresh43Author Commented:
not work
it give me errro
Error      1      'System.Windows.Browser.HtmlPage' does not contain a definition for 'Navigate'
0
 
CSecurityCommented:
If it failed try to do same call using:
HtmlPage.Window.Navigate(....
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.