Getting Javascript error on Date picker after version update of telerik

5 posts, 0 answers
  1. Manish
    Manish avatar
    64 posts
    Member since:
    Jul 2011

    Posted 28 Mar 2012 Link to this post

    Hi,
    I have update newer version of telerik to 2012.1.215.40. After update the new version i am getting error on my almost all page
    before updating the version it was working fine but i don't know what happened after update the newer version. Please help

    Following javascript error getting on button click(javascirpt error on Mozilla firefox)

    Error: Sys.WebForms.PageRequestManagerServerErrorException: Text property cannot be set. String was not recognized as a valid DateTime.
    Source File: http://localhost:1932/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RSMAccountsTrak_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a89093640-ae6b-44c3-b8ea-010c934f8924%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2012.1.215.40%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ab29b07e8-2c1e-44e5-9e1b-59bb6459fb01%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3af46195d3%3a490a9d4e%3abd8f85e4%3a2003d0b8%3a1e771326%3aaa288e2d%3aed16cbdc%3ae330518b%3a8e6f0d33%3a7c926187%3a8674cba1%3ab7778d6c%3ac08e9f8a%3a59462f1%3aa51ee93e%3ae085fe68
    Line: 15Webpage error details


    Please help it break my all applications.

    Thanks
    Manish
  2. Manish
    Manish avatar
    64 posts
    Member since:
    Jul 2011

    Posted 29 Mar 2012 Link to this post

    And also on IE i am getting javascirpt error as alert

    Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Text property cannot be set. String was not recognized as a valid DateTime.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Luca Costa
    Luca Costa avatar
    8 posts
    Member since:
    Jun 2009

    Posted 30 Mar 2012 Link to this post

    I'm noticing the same issue after updating my solution to the latest update (2012.1.215.40)
    Any solution or suggestion?

    Best regards
    Luca
  5. Manish
    Manish avatar
    64 posts
    Member since:
    Jul 2011

    Posted 01 Apr 2012 Link to this post

    Hi Luca,

    I think telerik have no time their users. But i have found some problems in their updated version like if you used the style sheet manager on your page or your master page than please remove that and check your application. and one more thing is that if you have made any default focus on RadDatepicker than please remove Raddatepicker.Focus(). I think all these problems occurring in raddatepicker and radtext box.

    Hope this help you.. :-)

    Thanks
    Manish
  6. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 02 Apr 2012 Link to this post

    Hello,

    The issue was that in some conditions wrong format of the date was pass to the sever, and it was not parsed correctly. This was solved several weeks ago and it should work correctly in the latest internal builds. We are also working on some improvements for transferring and parsing the selected date for RadDateInputs and RadDatePickers.
    Currently If you have problems with submitting the date when the inputs is in focus and another script or controls is making the callback, it would be best to set EnableSingleInputRendering property of your inputs to "false" and it should work correct in all cases. Meanwhile we are working on some fixes that will allow to submit the proper value of the control regardless of its focus state.

    Regards,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017