PC Review


Reply
Thread Tools Rate Thread

creating an instance of another page

 
 
Hawksey
Guest
Posts: n/a
 
      18th Aug 2006
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.
---------------------------------

Thanks in advance
Paul

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a new instance ffa@newsgroup.nospam Microsoft VB .NET 2 23rd Jul 2007 07:38 AM
Creating instance of another page class to access the control tree Willy Van den Driessche Microsoft ASP .NET 4 9th Jul 2007 09:52 PM
Not creating an instance tshad Microsoft C# .NET 6 11th Mar 2006 10:54 AM
Creating a new instance of an Application wh0cares Windows XP General 0 8th Feb 2005 11:20 AM
Creating a subclass instance from a base class instance Larry Lard Microsoft VB .NET 2 28th Jan 2005 05:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:55 PM.