ASPnetNovice
Programmer
Hello,
I was wondering if someone knows how to call code from a sibilling page.
I have 6 asp.net pages for an online questionaires and from page 3 I need to call code that was written in page 1.
The approach I am using is as follows.
the code behind from page 1 comes from a class call page 1
So what I am doing is declaring
Dim p1 as new page1 inside page 3 and hope to use the functions declare in page1
but for some reason this is giving me the following error
"Object reference not set to an instance of an object"
The code in page 1 trys to get info about controls inside page1 using Me.FindControl("Form1ID")
I will appreciate any help
Thanks.
I was wondering if someone knows how to call code from a sibilling page.
I have 6 asp.net pages for an online questionaires and from page 3 I need to call code that was written in page 1.
The approach I am using is as follows.
the code behind from page 1 comes from a class call page 1
So what I am doing is declaring
Dim p1 as new page1 inside page 3 and hope to use the functions declare in page1
but for some reason this is giving me the following error
"Object reference not set to an instance of an object"
The code in page 1 trys to get info about controls inside page1 using Me.FindControl("Form1ID")
I will appreciate any help
Thanks.