or
I am getting javascript error when i try to do some operations on the https pages like button clicks. The error is below
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Report_skladove_polozky_z_objednavky.aspx.cs" Inherits="_Default" Async="false" %><%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %><%@ Register Assembly="Telerik.ReportViewer.WebForms" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"> <%--<link href="~/Scripts/CSS/EditFormStyles.css" rel="stylesheet" type="text/css" />--%> <title>Tlačová zostava</title> <style type="text/css"> #AllPanel { width:100%; height:100%; margin:0px; padding:0px; font-family: Arial, Helvetica; font-size: 14px; } #AllPanel a { color: black; text-decoration: none; } </style> <script language="JavaScript" type="text/javascript"> function GetRadWindow() { var oWindow = null; if (window.radWindow) oWindow = window.radWindow; else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; return oWindow; } function content_onkeydown(e) { //alert("clicked in content page content"); try { if (!e) e = window.event; if (e.keyCode == 27) { FocusOnRadWindow(); var oWindow = GetRadWindow(); //Obtaining a reference to the current window oWindow.Close(); } } catch (err) { } } function FocusOnRadWindow() { GetRadWindow().GetContentFrame().contentWindow.focus(); } function secondFn() { window.setTimeout(function () { var senderElementStyle = GetRadWindow().get_popupElement().style; //alert(senderElementStyle.width + " " + senderElementStyle.height); document.getElementById("pdfObject").style.height = parseInt(senderElementStyle.height) - 63 + "px"; }, 0) window.setTimeout(function () { GetRadWindow().GetContentFrame().contentWindow.focus(); }, 1000) } document.onkeydown = content_onkeydown;</script></head><body"> <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager2" runat="server"> </asp:ScriptManager> <telerik:RadSkinManager ID="RadSkinManager2" runat="server" ShowChooser="false" Skin="Hay"> </telerik:RadSkinManager> <object><embed width="100%" type="application/pdf" id="pdfObject" runat="Server"></embed></object> </form></body></html>
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.2; BRI/2)
Timestamp: Sat, 26 May 2012 04:28:12 UTC
Message: Access is denied.
Line: 6930
Char: 9
Code: 0
URI: http://localhost:51516/ScriptResource.axd?d=h_o86yu-K-6nTNA3HhMgZoSImLI-VZzHJp_zcYCqJKeY5fNfe2-pvJdiEviO7YYwdftPGkhPoEWeYhxg3VguzhSFtolRzruKiiGyuHbjt9skWfwZ8jL6v7dbwa5lxsUjQnMK7v7NyOOJpTG1dEwC62FYhPByOFqtZ3DqnQeTNoGBkiy5MycdjDpVux7e