RadHtmlPlaceholder / Windowless

5 posts, 0 answers
  1. Stuart
    Stuart avatar
    12 posts
    Member since:
    Feb 2009

    Posted 18 Mar 2009 Link to this post

    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
  2. Jamest
    Jamest avatar
    41 posts
    Member since:
    Apr 2007

    Posted 18 Mar 2009 Link to this post

    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.

     

  3. Sameer Shah
    Sameer Shah avatar
    2 posts
    Member since:
    Jun 2009

    Posted 09 Jul 2009 Link to this post

    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>

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

  4. Sameer Shah
    Sameer Shah avatar
    2 posts
    Member since:
    Jun 2009

    Posted 09 Jul 2009 Link to this post

    Why don't you guys include all these stuff in your documentation?
  5. Ivan
    Admin
    Ivan avatar
    519 posts

    Posted 10 Jul 2009 Link to this post

    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.
Back to Top