Last Updated: 31 Jan 2022 15:25 by ADMIN
Release R1 2022 SP1
Created on: 12 Aug 2021 16:17
Category: AjaxPanel
Type: Bug Report
UpdatePanelCssClass not available when adding AjaxSettings programmatically

I have a RadAjaxManagerProxy in a user control that settings are added to on Page_Load:

If Me.Visible AndAlso rampServiceCharges.AjaxSettings.Count = 0 Then
    rampServiceCharges.AjaxSettings.AddAjaxSetting(rampServiceCharges, gvCharges, ralpServiceChargesDefaultSkin)
    rampServiceCharges.AjaxSettings.AddAjaxSetting(gvCharges, gvCharges, ralpServiceChargesDefaultSkin)
    rampServiceCharges.AjaxSettings.AddAjaxSetting(gvCharges, ddlFilterStatus, Nothing, UpdatePanelRenderMode.Inline)
    rampServiceCharges.AjaxSettings.AddAjaxSetting(ddlFilterStatus, gvCharges, ralpServiceChargesDefaultSkin)
End If

These settings had to be moved from the front end to the code behind because it was causing issues when the user control isn't visible. In the front end code, it is possible to assign a CSS class to an UpdatePanel, but there appears to be no such overload when adding AjaxSettings programmatically.

<telerik:AjaxUpdatedControl ControlID="Button1" UpdatePanelCssClass="updatePanelClassName" />


1 comment
Posted on: 17 Aug 2021 11:52

Hi Inform Billing,

You are absolutely correct. I checked the source code and noticed that the UpdatePanelCssClass is not available as an overload of the AjaxSettings function, e.g.

I made this bug report public in the portal so that it can gain popularity and we can fix (implement) it sooner:


Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.