D
David Hubbard
I place an PlaceHolder on a page and add a child control 1 or more times to
it. Then the user enters values and clicks the submit button. When my event
handler is called the controls are not present meaning:
ChildPlaceHolder.Controls.Count
is 0.
I know Page_Load is called before my handler, does that regenerate the page
before I have a chance to get the values in the child controls. If so do I
need to add identifiers to the controls so that I can identify them in
Page_Load to tell what button was pressed and call the appropriate handler
before they are cleared.
Thanks
it. Then the user enters values and clicks the submit button. When my event
handler is called the controls are not present meaning:
ChildPlaceHolder.Controls.Count
is 0.
I know Page_Load is called before my handler, does that regenerate the page
before I have a chance to get the values in the child controls. If so do I
need to add identifiers to the controls so that I can identify them in
Page_Load to tell what button was pressed and call the appropriate handler
before they are cleared.
Thanks