With Chrome browser, an Invalid Viewstate is being thrown when a user clicks the back button on the browser.
Please see attached project and video on how to reproduce the issue. Thanks!
ASPxCallbackPanel throws an invalid ViewState error in Chrome when the Back button is clicked
Answers approved by DevExpress Support
Hello,
Our controls may operate incorrectly if the Back and Forward buttons are clicked. Please refer to the Control state is not restored if Back and Forward browser buttons are clicked article for additional details.
I suggest you set the form.autocomplete property to off to overcome the issue.
ASPx<form id="form1" runat="server" autocomplete="off">
It would be better to use the built-in callback functionality of ASPxPopupControl instead of ASPxCallBackPanel. To pass a callback to the server, use the ASPxClientPopupControlBase.PerformCallback event.
Adding the autocompelete="off" does indeed fix the issue. However this will turn autocomplete off for all inputs on the page.
Is there a way to only do this for DevExpress controls?
Hello Ashley,
I've created a separate ticket on your behalf (T435314: How to switch off the autocomplete property only for DevExpress controls). It has been placed in our processing queue and will be answered shortly.