Custom Form Control List Of items

Mohamad Ramadan asked on April 4, 2021 16:22

Hi I've followed this doc to create a custom form control that allows saving multiple items as a list on XML format

https://docs.xperience.io/custom-development/extending-the-administration-interface/developing-form-controls/creating-form-controls-with-xml-values

The web user control contains two text-boxes, one button for adding items, Unigrid control

I've problem where after hitting the add button and add values to the UniGrid The Value property gets updated every time from the database, it cant handle postback, the uniGrid as well doesn't save its state after hitting the button and Datasource becomes null

how to maintain the value property on postback and how to keep the uniGrid state on postback

   Please, sign in to be able to submit a new answer.