• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4130
  • Last Modified:

Response.Redirect in silverlight

ho i write Response.Redirect  in silverlight
0
chandresh43
Asked:
chandresh43
  • 3
  • 2
1 Solution
 
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
 
liorfrCommented:
or this way:

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

Lior
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
chandresh43Author Commented:
not work
it give me errro
Error      1      'System.Windows.Browser.HtmlPage' does not contain a definition for 'Navigate'
0
 
CSecurityCommented:
You should do this:

HtmlPage.Navigate(new Uri(HtmlPage.DocumentUri, "youraspxfile.aspx").ToString());
0
 
CSecurityCommented:
If it failed try to do same call using:
HtmlPage.Window.Navigate(....
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now