Note that there are some explanatory texts on larger screens.

plurals
  1. POpage view is not as desired, html not appearing, page is blank
    primarykey
    data
    text
    <p>I have a pop up window appearing after a file is uploaded,</p> <pre><code>ClientScript.RegisterStartupScript (Me.GetType(), "Javascript", "javascript: window.open ('http://rsspl05/DocAdmin/confirmmsg.aspx?tdnum=" &amp; TDnum &amp; "','mywindow','width=800,height=400,location=no');", True) </code></pre> <p>but the pop up which I get is a blank page with Page Source:</p> <pre><code>&lt;!-- beginning of HttpRedirect.htm file --&gt; &lt;script type="text/javascript"&gt; function redirectToHttps() { var httpURL = window.location.hostname+window.location.pathname; var httpsURL = "https://" + httpURL ; window.location = httpsURL ; } redirectToHttps(); &lt;/script&gt; &lt;!-- end of HttpRedirect.htm file --&gt; </code></pre> <p>and the actual aspx code is:</p> <pre><code>&lt;%@ Page Language="VB" AutoEventWireup="false" CodeFile="Confirmmsg.aspx.vb" Inherits="docadmin_Confirmmsg" %&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" &gt; &lt;head runat="server"&gt; &lt;title&gt;Technical Documents&lt;/title&gt; &lt;link href="StyleSheet.css" rel="stylesheet" type="text/css" /&gt; &lt;script language="javascript" type="text/javascript"&gt; function confirmmsg(val) { // // alert(val + ' has been uploaded successfully.'); // //if(confirm("Do you want to upload another document?")==true){ // window.location.href="UploadDoc.aspx"; ///}else{ // window.location.href="../Search.aspx"; // } self.close(); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form id="form1" runat="server"&gt; &lt;div style="text-align:center"&gt; The document has been successfully uploaded.The link to the document:&lt;asp:HyperLink ID="lnkpath" runat="server" Target="_blank" Visible="false"&gt;HyperLink&lt;/asp:HyperLink&gt; &lt;br /&gt;&lt;asp:Button ID="btnOk" runat="server" Text="OK" /&gt;&lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload