Hi all,
We have a Radgrid in a web page on Server A that is used inside a web app in an iframe on server B. Basically this means it’s in a different domain and access to parent objects is not allowed.
When the mouse moves over the grid a javascript error “Access is denied” appears because of “top.document”. Full details are:
ScriptResource.axd - line 5959
var offsetL = w.screenLeft - top.screenLeft - top.document.documentElement.scrollLeft + 2;
Is there some way that we can configure the control to not have this issue? Can we have exception handling placed into the javascript?
ASPX Layout is defined below
<telerik:RadGrid ID="rgLog" runat="server" AutoGenerateColumns="False" GridLines="None" OnItemDataBound="rgLog_ItemDataBound" OnNeedDataSource="rgLog_NeedDataSource" Width="100%" OnDetailTableDataBind="rgLog_DetailTableDataBind" Skin="Outlook" ShowHeader="False">
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
Thanks in advance!