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

Modal Window ontop of Silverlight Plugin

1 Answer 55 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kashif Imran
Top achievements
Rank 1
Kashif Imran asked on 08 May 2009, 08:46 PM

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.

<

 

head>

 

 

<script type="text/javascript">

 

 

function ShowModalWindow(url) {

 

 

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

 

oWnd.setUrl(url);

oWnd.show();

}

 

</script>

 

</

 

head>

<

 

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

 

 

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

 

 

</asp:ScriptManager>

 

 

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

 

 

<button onclick="ShowModalWindow('http://www.google.com'); return false;">

 

Click..

</button>

 

 

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

 

 

VisibleTitlebar="true" AutoSize="true">

 

 

</tk:RadWindow>

 

 

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

 

 

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

 

 

</div>

 

 

</form>

 

</

 

body>

 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 11 May 2009, 07:24 AM
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.


Greetings,
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.
Tags
Window
Asked by
Kashif Imran
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or