crystalized
Programmer
Hi all,
I am dynamically adding a user control to my page. The control needs to be added every time the page loads or it disappears. I can understand this, what I do not understand at all is the problem I am having with it.
The user control contains a couple of web control textboxes. The web control textboxes seem to maintain state over the reloads (the values in them are still in them after a reload of the page). But when I try to access the values of the textboxes within the code behind for the control the values are always blank. I can kind of understand this since the control is technically being reloaded each time - but then why are they keeping the values across reloads?
The real question I have is does anyone know how to get this dynamically loaded control to be able to retrieve the values from it's own text boxes effectively.
Any help would be appreciated. Crystal
crystalized_s@yahoo.com
--------------------------------------------------
Experience is one thing you can't get for nothing.
-Oscar Wilde
I am dynamically adding a user control to my page. The control needs to be added every time the page loads or it disappears. I can understand this, what I do not understand at all is the problem I am having with it.
The user control contains a couple of web control textboxes. The web control textboxes seem to maintain state over the reloads (the values in them are still in them after a reload of the page). But when I try to access the values of the textboxes within the code behind for the control the values are always blank. I can kind of understand this since the control is technically being reloaded each time - but then why are they keeping the values across reloads?
The real question I have is does anyone know how to get this dynamically loaded control to be able to retrieve the values from it's own text boxes effectively.
Any help would be appreciated. Crystal
crystalized_s@yahoo.com
--------------------------------------------------
Experience is one thing you can't get for nothing.
-Oscar Wilde