G
Guadala Harry
I have this scenario:
ASPX Page dynamically loads userControl1 - which in turn dynamically loads
userControl2. UserControl2 contains a TextBox Web Server control.
When a user clicks a [save now] button in the ASPX page (not in either user
control), a Postback occurs during which I'd like to retrieve the Text
property value of the TextBox control. I have plenty of examples to work
from that show how to retrieve a property value of a user control from the
hosting aspx page's code behind. But those examples don't account for the
user controls being nested and dynamically loaded. Is what I'm attempting to
do possible? Any guidance would be greatly appreciated. None of my samples
or books that describe programmatically manipulating user controls seem to
deal with nested and dynamically loaded controls, and my knowledge of the
ASP.NET request processing internals is a bit limited.
Thanks!
ASPX Page dynamically loads userControl1 - which in turn dynamically loads
userControl2. UserControl2 contains a TextBox Web Server control.
When a user clicks a [save now] button in the ASPX page (not in either user
control), a Postback occurs during which I'd like to retrieve the Text
property value of the TextBox control. I have plenty of examples to work
from that show how to retrieve a property value of a user control from the
hosting aspx page's code behind. But those examples don't account for the
user controls being nested and dynamically loaded. Is what I'm attempting to
do possible? Any guidance would be greatly appreciated. None of my samples
or books that describe programmatically manipulating user controls seem to
deal with nested and dynamically loaded controls, and my knowledge of the
ASP.NET request processing internals is a bit limited.
Thanks!