Modal Window ontop of Silverlight Plugin

2 posts, 0 answers
  1. Kashif Imran
    Kashif Imran avatar
    29 posts
    Member since:
    Apr 2009

    Posted 08 May 2009 Link to this post

    I have a silverlight app that calls javascript function in the host page to shows RadWindow. I also added an html button to test the functionality. When Window shows up I cant click on the html button ( which is expected) but I can click on the silverlight area (which is not expected). Also when I click on silverlight area, it hides the RadWindow. I moved radwindow above, after and inside div but it makes not difference.






    <script type="text/javascript">



    function ShowModalWindow(url) {



    var oWnd = $find("<%=RadWindow1.ClientID%>");












    body style="height: 100%; margin: 0;">



    <form id="form1" runat="server" style="height: 100%;">
    <asp:ScriptManager ID="ScriptManager1" runat="server">






    <div style="height: 100%;">



    <button onclick="ShowModalWindow(''); return false;">






    <tk:RadWindow ID="RadWindow1" runat="server" Modal="true" VisibleStatusbar="true"



    VisibleTitlebar="true" AutoSize="true">






    <asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/App.xap"



    MinimumVersion="2.0.31005.0" Width="100%" Height="100%" />












  2. Georgi Tunev
    Georgi Tunev avatar
    7207 posts

    Posted 11 May 2009 Link to this post

    Hello Kashif,

    You should set the windowless property of the silverlight control to true. If this doesn't help, please open a support ticket and send us a sample project where we could observe the behavior.

    Georgi Tunev
    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