We have RadGrid inside a usercontrol.
On each item in the grid we have a image with OnClick handler set to OnImgClick.
When clicking on the image the RadWindow is opened.
When running the UserControl outside of SharePoint it works fine.
When loading the usercontrol in SHarePoint, the RadWindow is opened, but the it closes immediately.
Any ideas on why it is closed automatically within SharePoint, but works as expected outside of SharePoint?
OnImgClick-function
Definition of RadWindowManager
On each item in the grid we have a image with OnClick handler set to OnImgClick.
When clicking on the image the RadWindow is opened.
When running the UserControl outside of SharePoint it works fine.
When loading the usercontrol in SHarePoint, the RadWindow is opened, but the it closes immediately.
Any ideas on why it is closed automatically within SharePoint, but works as expected outside of SharePoint?
OnImgClick-function
function OnImgClick(sender, args) { |
var wnd = window.radopen("/details.aspx?" + args, null); |
} |
Definition of RadWindowManager
<telerik:RadWindowManager ID="window" Width="900" Height="600" VisibleStatusbar="false" ShowContentDuringLoad="false" |
Behaviors="Close, Move" runat="server" AutoSize="False" Modal="true" EnableViewState="true"> |
</telerik:RadWindowManager> |