Solved

Hide url in popup window

Posted on 2016-09-02
2
60 Views
Last Modified: 2016-09-02
Using this code...

URL/Address bar is still showing in popup.
I need that hidden

DirectCast(dataItem.FindControl("LinkEditJson"), HyperLink).Attributes("onclick") = "return window.open('EditRisk.aspx?IndividualID=" & IndividualID & "&OriginID=" & OriginID & "&ID=" & ID & "&IsPopup=1" & "','','directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=1,resizable=1,width=1000,height=600');"

Open in new window

0
Comment
Question by:lrbrister
2 Comments
 
LVL 5

Accepted Solution

by:
TechieMD earned 500 total points
ID: 41781932
Most modern browsers will now restrict the ability to do this due to security concerns.
0
 

Author Closing Comment

by:lrbrister
ID: 41781937
Thanks... just discovered that myself in anFAQ
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)
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…

828 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