New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Check for Incompatible Controls and Update Third-Party Controls with Telerik AJAX


Product Progress® Telerik® UI for ASP.NET AJAX


How can I check for incompatible controls and update third-party controls with Telerik UI for ASP.NET AJAX?


When you use a Telerik UI for ASP.NET AJAX control, first you need to check if the control is compatible with MS AJAX, which is the MS framework for AJAX-enabling controls. If the control works with it, it will most likely work seamlessly with the Telerik UI for ASP.NET AJAX framework as well.

Technical difficulties may occur when updating third-party controls which use JavaScript code on the client-side outside the updating area. As controls are not aware that they are being updated by AJAX and not by a postback, they cannot restore their client-side functionality as the HTML element is being replaced by a new object.

Therefore, you need to check for the following:

  • The control, which will be updated with an AJAX request has to be aware of this fact. This means that it has to be pre-modified to work with XmlHttpRequests. For getting help with this issue, contact your vendor.

    All Telerik controls for ASP.NET have been modified and can be used with Telerik AJAX controls.

  • Make sure that the control renders in one tag which so that it is properly updated. To check the rendering, view the page source and if the control does not render in one tag, nest it in an ASP Panel or in a div tag.

The following ASP.NET controls are not compatible with partial-page updates and are not supported as initiating or updated controls. Note that controls which are incompatible with partial-page rendering can still be used on a page without being added to the AjaxSettings.

To make the validators compatible with the Telerik Ajax controls when used in medium trust, set the EnableClientScript property of the validators to false. This action will disable the client script that will be ordinarily used to perform validation in the browser. As a result, during an asynchronous postback, the validators will perform the validation on the server. However, because only the content of the UpdatePanel is refreshed, the validators can provide the kind of immediate feedback that is ordinarily provided by the client script.

In this article