Got error Ajax manager is null in Master page

1 Answer 25 Views
Ajax
M Kumar
Top achievements
Rank 1
Iron
Iron
Veteran
M Kumar asked on 14 Jan 2026, 08:51 AM

Hi sir

     I use RadAjaxManager in master page  i call the RadAjaxManager in master.js file. in Grid itemdatabound call the function

 

if (gridid.toString().toLowerCase().indexOf("explorergrid") >= 0) {
    $("#ContentPlaceHolder1_ExplorerGridSelectedIndexHidden").val(index);
    var ajaxManager = $find('ctl00_RadAjaxManager1');
    ajaxManager.ajaxRequestWithTarget('ctl00$ContentPlaceHolder1$explorerGridViewLink', '');
}

 

when click the grid i got the error in png 

 

1 Answer, 1 is accepted

Sort by
0
Vasko
Telerik team
answered on 16 Jan 2026, 11:52 AM

Hello Kumar,

Thank you for the provided screenshots. 

From them, I can see that you are trying to access the AjaxManager by typing its entire ID. Please note that in ASP.NET the ID property for every HTML element is dynamic, therefore an improper ID may be the reason the ajax manager is returning undefined.

What I suggest you do is to take a look at the Use Telerik AJAX and MasterPage article to see how to get the ajax manager on every page.

Regards,
Vasko
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources
Tags
Ajax
Asked by
M Kumar
Top achievements
Rank 1
Iron
Iron
Veteran
Answers by
Vasko
Telerik team
Share this question
or