I have a RadGrid setup with a GridClientSelectColumn and AllowMultiRowSelection = false. When the page is posted back and I hit the browser back
button, the previously selected checkbox is still checked. When I check another row, the first one stays checked causing two checkboxes to be checked. On top of that, it's a real pain to uncheck the first checkbox for an end-user.
Telerik has confirmed that this is not a bug with RadGrid but a browser issue, and it will be difficult to deal with since the page is not reloaded when using the browser back button.
Can anyone think of a way to clear the RadGrid checkboxes after hitting the back button?
Example:
- Go to: http://demos.telerik.com/aspnet-ajax/grid/examples/client/selecting/defaultcs.aspx
- Uncheck: (you may have to do a post back to persist this setting)
- Check a row in the 2nd grid (Grid with ClientSideSelectColumn)
- Click the PostBack button
- Hit your browser's back button
- Check another row
- You will see that the previous row stays checked along with the new one
- Now, try to get the original row unchecked
Telerik has confirmed that this is not a bug with RadGrid but a browser issue, and it will be difficult to deal with since the page is not reloaded when using the browser back button.
Can anyone think of a way to clear the RadGrid checkboxes after hitting the back button?
Example:
- Go to: http://demos.telerik.com/aspnet-ajax/grid/examples/client/selecting/defaultcs.aspx
- Uncheck: (you may have to do a post back to persist this setting)
- Check a row in the 2nd grid (Grid with ClientSideSelectColumn)
- Click the PostBack button
- Hit your browser's back button
- Check another row
- You will see that the previous row stays checked along with the new one
- Now, try to get the original row unchecked