PDA

Click to See Complete Forum and Search --> : How to call an ASP page from another page?


sbasak
Nov 16th, 2003, 11:47 PM
How to call an ASP page from another page?

In VB.NET , we can use
dim f as new MyForm()
f.Show()

What's the equivalent syntax in ASP.NET?

Thanx :wave:

persianboy
Nov 17th, 2003, 02:31 AM
i dont think you can do what you do in windows forms, simply give a hyperlink to the page you want to open

Fishcake
Nov 17th, 2003, 03:21 AM
or if you want to do it in code rather than a hyperlink just use
response.redirect("whatever.aspx") or
server.transfer("whatever.aspx")
i'd use the first one for now.