I am generating some controls dynamically from code-behind on a small form. One of the controls can be the Syncfusion.JavaScript.Web.DatePicker control. Most of the time, when I submit the form, everything is fine. However, if the DatePicker is the "first" control I create, then I get an 500 Server Error Failed to Load Viewstate. The error is thrown immediate after Page_Init. I am not altering anything in that function.
I was using version 17 of your controls on .NET 4.5.1. I just updated to version 19 and targeting .NET 4.7.2. The same thing is happening.
I have attached some generated code and the error message. The only difference is the position of the DatePicker on the form. Any idea why this might be happening?
Attachment:
sample_a519238e.zip