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.

  1. convert repeater data form of data array (da) in code-behind.
  2. add empty element da.
  3. bind da repeater control.

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -