XGIS
asked on
How do I stop RadWindow Content Popping Out in Google Chrome
On My ASPX page i have a RadGrid that has a GridTemplateColumn. It displays an image thumbnail as an asp:HyperLink. (Code attached). I also have SWF and M4V files set up in the same way that have the same problem in Chrome; they dont show in the RadWindow and only give you the Save As dialog, which is exactly the opposite of what i am trying to achieve in terms of file security.
In Internet Explorer the RadWindow works fine but in Chrome it always pops out.
How can I stop the popout?
How can I hide the actual file now that I have made a path directly to it via the javascript?
In Internet Explorer the RadWindow works fine but in Chrome it always pops out.
How can I stop the popout?
How can I hide the actual file now that I have made a path directly to it via the javascript?
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function openRW_PNG(sender, args) {
var label = document.getElementById("<%= Label_PNG.ClientID %>").innerHTML;
var serverpath = "../../../App_Portal/xTrain/Images/VideoImages/"
radopen(serverpath + label, "RadWindow1");
}
</script>
</telerik:RadCodeBlock>
<telerik:GridTemplateColumn HeaderText="" SortExpression="XTV7_Categories_Image"
UniqueName="XTV7_Categories_Sub_Image">
<ItemTemplate>
<asp:HyperLink ID="btnImageDisplay" runat="server" Width="100px" Height="77px" CommandName="Select"
ImageUrl='<%# "~/App_Portal/xTrain/Images/VideoThumbs/" + Eval("XTV7_Videos_Image") %>'
ClientIDMode="Inherit" Target="RadWindow1" OnClick="openRW_PNG(); ">
</asp:HyperLink>
</ItemTemplate>
</telerik:GridTemplateColumn>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER