Enter key raise error for ajax

2 posts, 0 answers
  1. gal
    gal avatar
    3 posts
    Member since:
    Jul 2007

    Posted 07 Apr 2015 Link to this post

    I use radajax to my page. When button click everything working fine. But when enter key press raise follwing error

     

    Unhandled exception at line 19979, column 1 in http://localhost:39853/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:4ae4914f-8c8e-4123-9d05-414d87b48357:ea597d4b:b25378d2;Telerik.Web.UI:en-US:42f3bd03-686e-4514-94d4-9dc03944a160:16e4e7cd:f7645509:86526ba7:7c926187:8674cba1:b7778d6c:c08e9f8a:59462f1:a51ee93e:24ee1bba:f46195d3:1e771326:6b3f73b3:78b9daca:7165f74:58366029:2003d0b8:aa288e2d:ed16cbdc0x800a138f -

    JavaScript runtime error: Unable to get property 'id' of undefined or null reference

     

     

  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 07 Apr 2015 Link to this post

    Hello,

    A possible reason the described error to appear could be if you have set ClientIDMode to static for the controls that are included in the Ajax settings. Please make sure that the control which is triggerring the ajax request (the one specified in the AjaxControlID property of the RadAjaxManager) has its ControlIDMode set to a value different from Static and let us know about the result.

    Regards,
    Pavlina
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top