Datatable retaining values on button click
Datatable retaining values on button click
![Jay77](https://secure.gravatar.com/avatar/c365922694dd86e0eac28be04a331bc0/?default=https%3A%2F%2Fvanillicon.com%2Fc365922694dd86e0eac28be04a331bc0_200.png&rating=g&size=120)
Hi,
I have a datatable (C# webforms) which I populate on page load and contains checkboxes.
If the user check/unchecks some values and then clicks a button, the datatable retains the initial values on postback.
Is there a reason/way to prevent this happening?
This discussion has been closed.
Answers
Hard to say without seeing what you are doing. Can you post a link to your page or a test case showing the issue?
Kevin