Help: Call an ASPX page from a main ASPX page

P

Progman

How can I load an aspx page from vb script procedure in a main aspx page.
I want to avoid server.execute.
I want that main page to be replaced by the new page.
I dont want to use a button to call the page.
 
G

Guest

Progman,
run a search in help on this "response.redirect"

dim s as string
s = "mynewpage.aspx"
Response.Redirect(s,true) 'true means to stop processing the current page.

The above code comes right out of my 404 error page so I know it works.

Good Luck
DWS
 
G

Guest

Progman,
How do you intend to use VBScript (instead of say, VB.NET) from an ASPX
page, unless you do so as client - side script?
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top