| |

VerySource

 Forgot password?
 Register
Search
View: 903|Reply: 6

How ASP.NET pops up a new web page

[Copy link]

7

Threads

15

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-1-17 18:00:01
| Show all posts |Read mode
How to pop up a new webpage with a button event in ASP.NET?
Is there any way other than using response.write (script script)?
Reply

Use magic Report

0

Threads

20

Posts

10.00

Credits

Newbie

Rank: 1

Credits
10.00

 China

Post time: 2020-1-23 03:18:01
| Show all posts
Opening a new page is what javascript does.
Or lz target with html a
cs code is page.registerscriptblock, but still use script script
Reply

Use magic Report

0

Threads

25

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 China

Post time: 2020-1-23 07:18:01
| Show all posts
Response.Redirect ("aa.aspx");
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Germany

Post time: 2020-1-23 11:45:01
| Show all posts
window.open ()
Reply

Use magic Report

0

Threads

10

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-1-23 13:00:02
| Show all posts
this.Controls.Add (new LiteralControl (<script> window.open () </ script>));
Reply

Use magic Report

0

Threads

4

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-23 17:27:02
| Show all posts
Response.Redirect ("aa.aspx");
OR
Response.Write ("<script language = javascript> window.open (" B.aspx "); </ script>;
Reply

Use magic Report

0

Threads

5

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-23 18:27:01
| Show all posts
ShowModalDialog
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