T
tascien
I have a user control that has dynamic controls loaded to it in
Page_Init.
this works well. I have a function inside the user control:
GetValues()
When i add this usercontrol to a page: test.aspx and i call
GetValues(), it returns me the values of the dynamically added controls
correctly.
But when add this usercontrol to another user control: userc.ascx, and
add userc.ascx to test.aspx, and i call GetValues(), the values
returned are only from the before previous requests. it is like the
values are not assigned to the dynamic controls until the page has
finished loading.
Is there anything i can add to my getValues() function to tell the
control to assign posted values before returning to me?
help appreciated.
T.
Page_Init.
this works well. I have a function inside the user control:
GetValues()
When i add this usercontrol to a page: test.aspx and i call
GetValues(), it returns me the values of the dynamically added controls
correctly.
But when add this usercontrol to another user control: userc.ascx, and
add userc.ascx to test.aspx, and i call GetValues(), the values
returned are only from the before previous requests. it is like the
values are not assigned to the dynamic controls until the page has
finished loading.
Is there anything i can add to my getValues() function to tell the
control to assign posted values before returning to me?
help appreciated.
T.