3 Answers, 1 is accepted
0
Accepted
Shinu
Top achievements
Rank 2
answered on 22 May 2013, 10:40 AM
Hi,
Please have a look into the following code I tried.
ASPX:
JavaScript:
Thanks,
Shinu.
Please have a look into the following code I tried.
ASPX:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleOnPageLoad="true"> <Windows> <telerik:RadWindow ID="RadWindow1" runat="server"> <ContentTemplate> <asp:Label ID="Label1" runat="server" Text="RadWindow1"></asp:Label> </ContentTemplate> </telerik:RadWindow> <telerik:RadWindow ID="RadWindow2" runat="server"> <ContentTemplate> <asp:Label ID="Label2" runat="server" Text="RadWindow2"></asp:Label> </ContentTemplate> </telerik:RadWindow> <telerik:RadWindow ID="RadWindow3" runat="server"> <ContentTemplate> <asp:Label ID="Label3" runat="server" Text="RadWindow3"></asp:Label> </ContentTemplate> </telerik:RadWindow> </Windows></telerik:RadWindowManager><br /><br /><telerik:RadButton ID="RadButton1" runat="server" Text="Get" OnClientClicked="OnClientClicked" AutoPostBack="false"></telerik:RadButton>JavaScript:
<script type="text/javascript"> function OnClientClicked(sender, args) { var window2 = $find('<%=RadWindow2.ClientID %>'); if (window2.isActive() == true) { alert("RadWindow2 is in front"); } else { alert("RadWindow2 is not in front"); } }</script>Thanks,
Shinu.
0
Saravanan
Top achievements
Rank 1
answered on 23 May 2013, 07:49 AM
Hi shinu,
In my page, there is a radmenu on top and a radtreeview on left side of the page. The radwindow should not be draggable over the menu and radtreeview but inside the content area. Can you suggest a solution?
In my page, there is a radmenu on top and a radtreeview on left side of the page. The radwindow should not be draggable over the menu and radtreeview but inside the content area. Can you suggest a solution?
0