Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7846701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:40:18+00:00 2026-06-02T17:40:18+00:00

I have a pop up window appearing after a file is uploaded, ClientScript.RegisterStartupScript (Me.GetType(),

  • 0

I have a pop up window appearing after a file is uploaded,

ClientScript.RegisterStartupScript (Me.GetType(), "Javascript", "javascript:
   window.open ('http://rsspl05/DocAdmin/confirmmsg.aspx?tdnum=" & TDnum &
   "','mywindow','width=800,height=400,location=no');", True)

but the pop up which I get is a blank page with Page Source:

<!-- beginning of HttpRedirect.htm file -->

<script type="text/javascript">

function redirectToHttps()     
{     
  var httpURL = window.location.hostname+window.location.pathname;     
  var httpsURL = "https://" + httpURL ;     
  window.location = httpsURL ;     
}     
redirectToHttps();     
</script>

<!-- end of HttpRedirect.htm file -->

and the actual aspx code is:

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Confirmmsg.aspx.vb" Inherits="docadmin_Confirmmsg" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Technical Documents</title>

<link href="StyleSheet.css" rel="stylesheet" type="text/css" />    
    <script language="javascript" type="text/javascript">
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();
}

</script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="text-align:center">
    The document has been successfully uploaded.The link to the document:<asp:HyperLink
            ID="lnkpath" runat="server" Target="_blank"  Visible="false">HyperLink</asp:HyperLink>
      <br /><asp:Button ID="btnOk" runat="server" Text="OK" /></div>
    </form>
</body>
</html>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:40:22+00:00Added an answer on June 2, 2026 at 5:40 pm

    Make sure of the following few things:

    • You are calling the correct url/file
    • Your aspx page is inheriting the correct codebehind file
    • Check that there is nothing in your popup codebehind file that will cause the issue

    • Double check the final(incorrect) popup url to see if it is the file you called, if it redirected to something else, trace/debug your process flow to see what can cause it.

    This is just a very generic options, so let me know if you find something. Hope it helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Many websites have very good looking pop-up window. For example checkout http://www.myntra.com and when
I have the following JavaScript code to pop up a window in Internet Explorer.
My pop up window is not appearing. It is suppose to appear after my
I have a question, I'm opening a pop-up window using javascript then a window
I have window.open as shown below window.open(<%=forHyperLink%>,'name_' + Math.random(),'height=600,width=800'); to open a pop up
I have a script that I want to pop a window after 5 page
Current window http://www.testing.com/default.aspx or http://www.testing.com/default.aspx?id=1 Pop Up Window http://www.testing.com/default.aspx?p=1 or http://www.testing.com/default.aspx?id=1&p=1 What I have
I have a pop-up window a user logs into, once they are logged in
I have a pop up which is timed to appear after 2 minutes on
I am developing a chat application. And i want to have pop up window

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.