Solved

Hide url in popup window

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…

746 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

11 Experts available now in Live!

Get 1:1 Help Now