Problem with RadAjaxManager and RadButton

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1679 posts
    Member since:
    Oct 2004

    Posted 16 Nov 2010 Link to this post

    When the RadButton (ButtonType="StandardButton", UseSubmitBehavior="true") is used as an Ajax Trigger for the Ajax manager, the controls affected by the Ajax request are not updated on the client. The issue will be fixed for the upcoming Q3 2010 SP1 release. You can follow the progress of the issue here.

    For the time being, please, set the UseSubmitBehavior property to false.

    <%@ Page Language="C#" AutoEventWireup="true" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
           <form id="form1" runat="server">
           <asp:ScriptManager ID="ScriptManager1" runat="server">
           <script runat="server">
                  void btnSaveTenplateDefault_Click(object sender, EventArgs e)
                         Label1.Text = DateTime.Now.ToString();
           <telerik:RadAjaxManager ID="AjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
                         <telerik:AjaxSetting AjaxControlID="RadButton1">
                                      <telerik:AjaxUpdatedControl ControlID="Label1" />
           <telerik:RadButton ID="RadButton1" runat="server" Text="Postback" OnClick="btnSaveTenplateDefault_Click"
           <asp:Label ID="Label1" runat="server"></asp:Label>
Back to Top