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
210
WebDateChooser causes invalid view state
posted

When I try to use the webdatechooser control on a webform, I receive a "Failed to load ViewState" error when posting back. If I remove the control the problem goes away. Any ideas?

I am not doing any dynamic content, I am literally just including the control on a form and it breaks.

Versions:

.Net 3.5

<add assembly="Infragistics35.WebUI.WebDateChooser.v9.1, Version=9.1.20091.2087, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/>

<add assembly="Infragistics35.WebUI.Shared.v9.1, Version=9.1.20091.2087, Culture=neutral, PublicKeyToken=7DD5C3163F2CD0CB"/> 

 


Exact error:

 

 

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

 

  • 210
    posted

    It's been about a week...Infragistics support?

  • 210
    posted

    Found what is triggering the problem, please advise on how I can fix as I don't believe this is acceptable.

    In the master page I have the following in the head tag.

    <script type="text/javascript" src="<%# ResolveUrl("~/Scripts/jquery-1.3.2.js")%>"></script>

    If I remove this, it works.