Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How do I stop RadWindow Content Popping Out in Google Chrome

Posted on 2011-10-16
Medium Priority
Last Modified: 2012-05-12
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?
<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");

Open in new window

<telerik:GridTemplateColumn HeaderText="" SortExpression="XTV7_Categories_Image"
                            <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(); ">

Open in new window

Question by:XGIS
  • 2

Accepted Solution

XGIS earned 0 total points
ID: 37055651
It is ironic that if this ? was about how to cut down a tree with a chainsaw id had 30 posts by day 2.

Why do files pop out of windows win different browsers?
How do I stop files from being accessible?

Author Closing Comment

ID: 37141405
This resource is a waste of time

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to implement server side field validation and display customized error messages to the client.
By following these Magento e-commerce development tips, you can increase your website's conversion and profitability. Read this post for more details.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses
Course of the Month12 days, 6 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question