| |

VerySource

 Forgot password?
 Register
Search
View: 830|Reply: 3

ASP.NET pop-up screen problem

[Copy link]

7

Threads

15

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 Invalid IP Address

Post time: 2020-12-16 12:30:01
| Show all posts |Read mode
I am in a 1.aspx, use the button click event showdialog to pop up the 2.aspx screen
Add a button to 2.aspx and write in its event
Response.Write("<script>window.close();</script>")

Why does 2.aspx pop up another screen and turn it off? Instead of turning off the original screen directly?
Reply

Use magic Report

0

Threads

322

Posts

115.00

Credits

Newbie

Rank: 1

Credits
115.00

 China

Post time: 2020-12-16 12:45:01
| Show all posts
In b.aspx

<heade>


</head>
Add <BASE target="_self">
Reply

Use magic Report

7

Threads

15

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 Invalid IP Address

 Author| Post time: 2020-12-18 22:30:01
| Show all posts
OK Thanks
Reply

Use magic Report

0

Threads

1

Posts

0.00

Credits

Newbie

Rank: 1

Credits
0.00

 China

Post time: 2020-12-25 15:40:10
| Show all posts
xieixe thanks
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list