creating an instance of another page

H

Hawksey

All,

Is it possible to create an instance of another webform and access the
content of that webform.

The issue that I'm having is that the webform will be different for
each group of users that access the first page.

I know the following is incorrect but if you see the code it will make
it a bit clearer as to what I'm trying to achieve.
------------------------------
Dim obj As Object
Dim objPage As Page
obj = CObj("ApplicationName.PageName_" &
SOMECOOKIEVALUE.ToString() & ".aspx")
objPage = CType(obj, Page)
and then iterate through the page objects to get at the stuff I need.
The page ("ApplicationName.PageName_" & SOMECOOKIEVALUE.ToString() &
".aspx) already exists in the application.
 

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,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top