Solved

Hide url in popup window

Posted on 2016-09-02
2
45 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Entity Framework 7 31
Vb. Net application freezes 9 30
Help with AsEnumerable(), LINQ 4 22
Assigning handler to UserControls in flowlayoutpanel 4 7
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now