c# - Store user input when updating repeater inside updatepanel -
i have repeater inside updatepanel. inside repeater item have several text boxes. have "add new" button dynamically add new items repeater. problem every time press "add new" user input erased. how update repeater preserving user input?
whenever postback
occurs, repeater
control loses state. might want perform following quick steps on postback.
- convert repeater data form of data array (da) in code-behind.
- add empty element da.
- bind da repeater control.
Comments
Post a Comment