Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Unbound checkbox losing state after second postback
posted

Hi,

We have found the following behavior with Web Grid, and want to confirm if the same is a bug.

Created an Unbound column of CheckBox Type, and placed a 'Test Postback' on the page (outside the WebGrid).

  1. Check one or more Check Boxes

  2. Click 'Test Postback'

    1. It works fine for the first postback.

    2. User sees Check Boxes selected still.

  3. Click 'Test Postback' again

    1. This empties unchecks all Check Boxes in the Column.

Can somebody tell me if this behavior is by design or is a bug?

Also, is there any solution as we need to keep the CheckBox selection as is across all postbacks (Except converting the unbound column to a bound column and preserving its state in source data object).

 

Regards,

 

MPVBRao.