15,890,947 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 12554029 (Top 8 by date)
Member 12554029
18-Dec-17 8:28am
View
there has to be a secure window close sign for some place, i'm use OnClientClick = "window.close(); for close windows
Member 12554029
18-Dec-17 4:59am
View
the scripst do not work for me, they do not hide the background, the page1 that is where the Div to hide has this escript
function hideDiv () {
var div = document.getElementById ('<% = background.ClientID%>');
div.style.display = 'none';
<pre>
}
</ script></pre>
and the page that closes and must give the order to hide it has this other
<script type = "text / javascript">
window.attachEvent ('beforeunload', function (event) {
window.opener.hideDiv ();
});
<pre>
</ script></pre>
Member 12554029
15-Dec-17 8:47am
View
In the solution that you give me, where is the instruction that is equivalent to div.Style.Add ("display", "none")? can it be in ajax?
Member 12554029
15-Dec-17 8:04am
View
When I close page 2 the div on page 1 must execute
div.Style.Add ("display", "none")
Member 12554029
15-Dec-17 7:49am
View
How could I do that?
Member 12554029
15-Dec-17 6:32am
View
The way to launch the page is as follows:
on page1.aspx.vb I put this:
Dim newWin As String = "window.open ('page2.aspx', '_blank', 'top = 300, left = 400, width = 700, height = 500, status = yes')" ClientScript.RegisterStartupScript (Me.GetType (), "popup", newWin, True)
Member 12554029
15-Dec-17 6:32am
View
Deleted
The way to launch the page is as follows:
on page1.aspx.vb I put this:
Dim newWin As String = "window.open ('page2.aspx', '_blank', 'top = 300, left = 400, width = 700, height = 500, status = yes')" ClientScript.RegisterStartupScript (Me.GetType (), "popup", newWin, True)
Member 12554029
15-Dec-17 5:21am
View
what I do is launch page 2 from page 1, page 1 activates div as well: div.Style.Add ("display", "block") and page2 deactivates it by making a div.Style.Add (" display "," none ")
Show More