M
Micke Palm
Hi!
I have set up one aspx page and I using a few usercontrols to this page. The
treestructure is like below...
aspx
/ \
uCtrl1 uCtrl2
\
uCtrl3
In uCtrl3 I have a public sub with name Test() , now I need to reach this
sub from uCtrl2.
Dim myTestClass as New uCtrl3
myTestClass.Test
Do I need to use "New" coz if I use "New" all control will be NULL? In
uCtrl3 I also have an Table control and here everything goes wrong. When I
use "New" it can't found the Table control and if I don't use "New" it can't
found the class.
I can solved this with other ways like set Panels visible when a criteria is
set, but I think this is a nicer way to do this call or may I've wrong?
/regards, Micke
I have set up one aspx page and I using a few usercontrols to this page. The
treestructure is like below...
aspx
/ \
uCtrl1 uCtrl2
\
uCtrl3
In uCtrl3 I have a public sub with name Test() , now I need to reach this
sub from uCtrl2.
Dim myTestClass as New uCtrl3
myTestClass.Test
Do I need to use "New" coz if I use "New" all control will be NULL? In
uCtrl3 I also have an Table control and here everything goes wrong. When I
use "New" it can't found the Table control and if I don't use "New" it can't
found the class.
I can solved this with other ways like set Panels visible when a criteria is
set, but I think this is a nicer way to do this call or may I've wrong?
/regards, Micke