htmlpage.window.navigation help
-
Dear All, I have a Page name first.aspx, from where i click on go to second.aspx. This second.aspx page has silverlight object. In silverlight object i use
System.Windows.Browser.HtmlPage.Window.Navigate(New Uri(strUrl, UriKind.RelativeOrAbsolute), "\_self", "")
to come back to first.aspx, but it works like back button of browser, means this page not showing the updates i have done in second.aspx. I have to refresh the first.aspx to see the new changes. So how could i navigate to the page with page refresh in silverlight. Thanks
-
Dear All, I have a Page name first.aspx, from where i click on go to second.aspx. This second.aspx page has silverlight object. In silverlight object i use
System.Windows.Browser.HtmlPage.Window.Navigate(New Uri(strUrl, UriKind.RelativeOrAbsolute), "\_self", "")
to come back to first.aspx, but it works like back button of browser, means this page not showing the updates i have done in second.aspx. I have to refresh the first.aspx to see the new changes. So how could i navigate to the page with page refresh in silverlight. Thanks
HI All, I got the solution for the same. Sharing with u
HtmlPage.Window.Eval(String.Format("window.location.href='{0}';", strUrl))
Thanks