I am dynamically ajaxing controls but how can I remove the ajax from the control later on? Is there a way I can query the ajaxmanager for a control id and remove all the ajax settings just for that control?
The dynamic ajax settings are not persisted through postbacks. And that is why you need to add them on each postback. Therefore instead of trying to remove a setting you would better add it conditionally.
How to add Ajaxsetting in javascript as well as how to remove Ajaxsetting in javascript.
In C#, i know how to use it. but in javascript i have no idea.
RadAjaxManager1.AjaxSettings.Clear();
RadAjaxManager1.AjaxSettings.AddAjaxSetting(RadAjaxManager1, drpType);
0
Vasil
Telerik team
answered on 11 Oct 2012, 08:36 AM
Hi Waseem,
It is not supported functionality to changed the Ajax settings with JavaScript.
Greetings,
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.