E
Electric Co.
Hello,
I have two questions:
1.) How successfully does ASP.NET 2005 handle custom composite controls
nested inside
of custom composite controls?
For example:
Cntrl_A inherits from CompositeControl and does all sorts of neat stuff
Cntrl_B also inherits from CompositeControl and has two instances of
Cntrl_A
ie.
Protected Overrides Sub CreateChildControls()
Controls.Clear()
cntrl_A1= New Cntrl_A()
cntrl_A1.ID = "FirstControl"
cntrl_A2= New Cntrl_A()
cntrl_A2.ID = "SecondControl"
Me.Controls.Add(cntrl_A1)
Me.Controls.Add(cntrl_A2.)
End Sub
Thinking MicroSoft may have troubles with postbacks and validations
if controls get nested too deep. If not then I might need to upgrade.
2.) Could I create a custom server control in 2005 in order to leverage
the CompositeControl base class and then use that control in 2003?
(fingers crossed but guessing aboslutely not)
Thanx in advance.
I have two questions:
1.) How successfully does ASP.NET 2005 handle custom composite controls
nested inside
of custom composite controls?
For example:
Cntrl_A inherits from CompositeControl and does all sorts of neat stuff
Cntrl_B also inherits from CompositeControl and has two instances of
Cntrl_A
ie.
Protected Overrides Sub CreateChildControls()
Controls.Clear()
cntrl_A1= New Cntrl_A()
cntrl_A1.ID = "FirstControl"
cntrl_A2= New Cntrl_A()
cntrl_A2.ID = "SecondControl"
Me.Controls.Add(cntrl_A1)
Me.Controls.Add(cntrl_A2.)
End Sub
Thinking MicroSoft may have troubles with postbacks and validations
if controls get nested too deep. If not then I might need to upgrade.
2.) Could I create a custom server control in 2005 in order to leverage
the CompositeControl base class and then use that control in 2003?
(fingers crossed but guessing aboslutely not)
Thanx in advance.