This is a migrated thread and some comments may be shown as answers.

Enter key raise error for ajax

1 Answer 40 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Suresh
Top achievements
Rank 1
Suresh asked on 07 Apr 2015, 06:18 AM

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

 

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 07 Apr 2015, 04:58 PM
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.

 
Tags
Ajax
Asked by
Suresh
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or