Last post Jun 02, 2011 06:01 AM by nobdy
Jun 02, 2011 05:45 AM|antao|LINK
It's my very first post around here, I'm João from Portugal... and it's been 3 hours since my lastest line of code.
Well, I'm dealing with a problem when creating dynamic controls.
E.g: I have a form that is duplicated through a button click event. I've put the form under a usercontrol and I call it inside a repeater control. I've used an OnInit method to re-populate the repeater with the usercontrol after a postback. The problem is,
between postbacks I loose all the information that the user will insert for e.g. in some of the textboxes. Any solutions to deal with this?
Jun 02, 2011 06:01 AM|nobdy|LINK
You can get Values from Request.Form as its not wasy to evable viewstate for dynamic controls.
Let me know if it helps.