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

RadWindow not Reloading

2 Answers 77 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 06 Aug 2013, 07:02 PM
I am pulling a aspx page through a radwindow onto my page via a <a href onclick> 

the window shows and everything comes up great, the problem is when I go to click on it agian the window will not show agian, and I have no clue why, but if I refresh the page it works fine again.  is there something else i need to set in the properties to enable this window toi be opened multiple times on a page if need be.  Originall I had a a mouse over but that got annoying in swiping mouse over label accidentally so I changed to onclick.

<telerik:RadWindow ID="RadEducation" runat="server" AutoSize="true" DestroyOnClose="true" Animation="FlyIn" NavigateUrl="~/Admin/Educationkey.aspx" MaxHeight="600px" MaxWidth="300px" Modal="true"  SkinID="Web20" OffsetElementID="lblKey"></telerik:RadWindow>
 
 <a href="#" onclick="myMouseOver();">key</a><asp:Label ID="lblKey" runat="server"></asp:Label>
 
 
 function myMouseOver() {
               var oWnd = $find("<%=RadEducation.ClientID%>");
               oWnd.show();
           }


2 Answers, 1 is accepted

Sort by
0
Accepted
A2H
Top achievements
Rank 1
answered on 07 Aug 2013, 12:33 AM

Hello,

The problem was that RadWindow’s “DestroyOnClose ” property is set to true.

When this property is enabled it will remove the client-side markup and JavaScript object of radwindow on closing. Hence the next time when you click on the button you won’t be able to see the radwindow popup. 

 

To resolve the issue:

  •  Set value "false" to the  DestroyOnClose property or don't declare it.


Thanks,
A2H
0
Kevin
Top achievements
Rank 1
answered on 07 Aug 2013, 12:19 PM
Thanks for the help.
Tags
Window
Asked by
Kevin
Top achievements
Rank 1
Answers by
A2H
Top achievements
Rank 1
Kevin
Top achievements
Rank 1
Share this question
or