E
Eric
Hi,
I'm currently writing a ASP.NET page in VS2008 with VisualBasic.
I have a page with three textboxes the user can fill and a button.
When the user clicks the button the information from the textboxes should go
to the code behind for some stuff to do.
All controls are dynamicly build in de Page_INIT event of the page.
I have added a handler to the button to catch it's click event.
While running the page, the handle for the clickevent is called, but the
controls voor the textboxes are empty.
I guess I will have to use ViewState to keep the text property of the
textboxes, but where in my code do I put it?
So basicly what I need it that when the button is clicked, the information
text in the textproperties is stored in the viewstate before actually running
the click-event code.
Or am I doing it wrong and is there another method?
rg,
Eric
I'm currently writing a ASP.NET page in VS2008 with VisualBasic.
I have a page with three textboxes the user can fill and a button.
When the user clicks the button the information from the textboxes should go
to the code behind for some stuff to do.
All controls are dynamicly build in de Page_INIT event of the page.
I have added a handler to the button to catch it's click event.
While running the page, the handle for the clickevent is called, but the
controls voor the textboxes are empty.
I guess I will have to use ViewState to keep the text property of the
textboxes, but where in my code do I put it?
So basicly what I need it that when the button is clicked, the information
text in the textproperties is stored in the viewstate before actually running
the click-event code.
Or am I doing it wrong and is there another method?
rg,
Eric