Dear Telerik,
From an ASP.NET application, I open an ASPX page in a maximized RadWindow. This page runs a Silverlight Application that at some point needs to change the title of the RadWindow.
I tried the following:
That did not work, then I tried:
And that did not work either.
How Do I do that?
Salah A. Malaeb
TeknoBuild
From an ASP.NET application, I open an ASPX page in a maximized RadWindow. This page runs a Silverlight Application that at some point needs to change the title of the RadWindow.
I tried the following:
HtmlDocument document = HtmlPage.Document;
document.SetProperty("title", "My Title");
That did not work, then I tried:
string title = "My Title";
HtmlWindow top = HtmlPage.Window.GetProperty("top") as HtmlWindow;
HtmlDocument htmlDoc = top.GetProperty("document") as HtmlDocument;
htmlDoc.SetProperty("title", title);
How Do I do that?
Salah A. Malaeb
TeknoBuild