This is a migrated thread and some comments may be shown as answers.

RadHtmlPlaceholder / Windowless

4 Answers 431 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stuart
Top achievements
Rank 1
Stuart asked on 18 Mar 2009, 06:53 PM
Hello,

I am attempting to host external web content in a RadHtmlPlaceholder inside a RadWindow (the goal being a popup window for help content). When the window opens, it is populated with the following text:

RadHtmlPlaceholder requires the "Windowless" parameter of the Silverlight application to be True.

This is a bit confusing, as I haven't found this setting in the RadHtmlPlaceholder demos. Some insight into the reasoning behind this would be very useful (as would any documentation for RadHtmlPlaceholder).

Thanks,
~stuart

4 Answers, 1 is accepted

Sort by
0
Jamest
Top achievements
Rank 2
answered on 18 Mar 2009, 08:13 PM
The windowless property is on the control itself -

<

 

asp:Silverlight ID="MySL" runat="server" Source="~/ClientBin/MySilverLight.xap" MinimumVersion="2.0.31005.0" Width="100%" Height="100%"  Windowless="true"/>

 I think what is really happening is an Iframe possibly in a div is generated on the page in html and then absolutely positioned over the control. I may be wrong but I am pretty sure Silverlight 2.0 doesn't support any html content within the scope of the control. I hope this helps.

 

0
Sameer Shah
Top achievements
Rank 1
answered on 09 Jul 2009, 05:37 PM
That is not enough. That will work well on localhost but won't do good if it has been hosted from an Apache server. For that you need to add the same property in HTML file too. Something like
<HTML>
<div id="silverlightControlHost">
        <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="50%" height="100%">
            <param name="windowless" value="true"/>
            ....................................................................

            ....................................................................
</div>
</HTML>

            ....................................................................

0
Sameer Shah
Top achievements
Rank 1
answered on 09 Jul 2009, 05:38 PM
Why don't you guys include all these stuff in your documentation?
0
Ivan
Telerik team
answered on 10 Jul 2009, 07:56 AM
Hi Sameer,

Thank you for your participation in the forum.

More information about the RadHtmlPlaceholder control you can find in our online documentation. For example the windowless property is pointed in the RadHtmlPlaceholder - Getting Started article - there are examples for both ASP and HTML pages.

Another good source is the KB section.

Please preview them and let us know if you need more information about the html placeholder.

Sincerely yours,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Stuart
Top achievements
Rank 1
Answers by
Jamest
Top achievements
Rank 2
Sameer Shah
Top achievements
Rank 1
Ivan
Telerik team
Share this question
or