Posted on: 3/24/2012 8:08:26 AM | Views : 490

Hi,
I am tring to do exercise like this:
Create a form with one button on it.
When this button is being clicked and a post (not ajax) was done create a textbox and another button dynamicly.
When the second button is clicked a Label will be created dynamicly which will have the text from the textbox that was generated before. (The textbox is still showing).
 
What i did was create the static asp button and its handler which creates the dynamic textbox and button, and also sets a boolean value to the session to indicate the dynamic data should be created the next time (if the button won't be pressed again), and the PreInit have an If statement that checks the session and create/not create according to its saved value.
My problem is when the handler for the dynamic button is raised i don't have the textbox text data with me.
So, i have 2 question for all of this:
1. Is there any elegant way to do all of this?< ...

Go to the complete details ...