Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a New Page

Status
Not open for further replies.

dace

Programmer
Jul 21, 2001
263
US
Hi all -

I was wondering if it's possible to programmatically create and display an aspx page.

So, basically something like:

dim newPage as new Page

Then:
response.redirect( ? )

I can't seem to find anything on it.

Thanks!



 
response.redirect accepts a string input. To dynamically do a redirect try this
Code:
Dim myPage as String

myPage = [page to redirect to]
response.redirect(myPage)

Jason Meckley
Database Analyst
WITF
 
Sorry, maybe I wasn't being clear enough.

What I'm looking to do is create a new aspx page in code - the response.redirect(?) was just to signify that I'm looking to be able to create a new aspx page in memory and then display it.


 
That I don't know, but would be interested to find out if others my have a solution.

Jason Meckley
Database Analyst
WITF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top