Hello Martin,
I am not sure I understand your request. Can you please elaborate?
Basically the
RadHtmlPlaceholder allows you to display external pages by using an
IFrame object to display the
SourceUrl. The IFrame obect is placed on top of the Silverlight plug-in in the page hosting the SL application and this is why the control's content is
positioned over the whole Silverlight application.
If you want to display html code, you can pass it as string to the
RadHtmlPlaceholder HtmlSource property. In that case the HtmlSource will be placed in a div element inside the page hosting the Silverlight application.
When you display an external page in the
RadHtmlPlaceholder, you can access the content of the
IFrame object like so:
Then you can either look for a specific element on the page, like so:
HtmlElement content = document.GetElementById("contentID"); or you can add new element in the
HtmlDocument document.
I hope this information will be helpful. However, let me know if I can further assist you.
Best wishes,
Tina Stancheva
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>