An Ajaxified Control Still Makes Postbacks
Environment
Product | Progress® Telerik® UI for ASP.NET AJAX |
Description
What can I do when an ajaxified control still makes postbacks?
Solution
If you have added the AjaxSetting
for a control that will be ajaxified, but it still makes regular postbacks, use any of the following approaches to handle this issue:
-
If your
AjaxSettings
are defined in ASPX, verify whether the controlID
completely matches the correspondingAjaxSetting
. Also, check whether the AjaxManager designer shows your control as ajaxified, which will ensure that the manager will find and ajaxify the control at runtime. -
If your
AjaxSettings
are defined in the code-behind, check if you are adding yourAjaxSettings
on the event-handler of each control.AjaxSettings
are not preserved in theViewState
so you have to add them on eachPageLoad
. In such cases, you may find your ajaxified control making a postback on the first try.