I am using Silverlight business application. At home page using HtmlPlaceHolder. My home page url is as follows.
http://localhost:52878/HTMLPlaceHolderBusinessApplicationTestPage.aspx#/Home
- How can I set ‘windowless=true’?
I have used following code from your example but not working for me.
if (!Application.Current.Host.Settings.Windowless)
{
string newUrl;
newUrl = HtmlPage.Document.DocumentUri.AbsoluteUri.Replace(HtmlPage.Document.DocumentUri.Fragment, string.Empty);
newUrl = string.Format("{0}?windowless=true{1}", newUrl, HtmlPage.Document.DocumentUri.Fragment);
HtmlPage.Window.Navigate(new Uri(newUrl, UriKind.Absolute));
}
Output of this code is http://localhost:52878/HTMLPlaceHolderBusinessApplicationTestPage.aspx?windowless=true#/Home
- Can I open Asp.net page in HTMLPlaceHolder?
- Can HtmlPlaceholder help in passing parameters to associated ASP.Net page.