AjaxManager - Partial Ajaxification in Literal Control

1 posts, 0 answers
  1. nithinraj
    nithinraj avatar
    1 posts
    Member since:
    Feb 2017

    Posted 25 Feb Link to this post

    The following code works and updates the literal control perfectly.  When I add the ajax manager, it doesn't update the control at all . Its still Showing Chart...

     

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="ddlFromDay">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="litTargetSales" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
        </telerik:RadAjaxLoadingPanel>
         <telerik:RadFormDecorator RenderMode="Lightweight" ID="FormDecorator1" runat="server" DecoratedControls="Buttons"></telerik:RadFormDecorator>
     
          <fieldset>
                                <telerik:RadPageLayout ID="rplTargetAcheived" runat="server" GridType="Fluid">
                                    <Rows>
                                        <telerik:LayoutRow>
                                            <Columns>
                                                <telerik:LayoutColumn Span="6" CssClass="tdmakeright">
                                                    <telerik:RadLabel ID="lblFromDay" runat="server" Text="From Day" Skin="MetroTouch" RenderMode="Lightweight"></telerik:RadLabel>
     
                                                    <telerik:RadComboBox ID="ddlFromDay" runat="server" Filter="StartsWith" Skin="MetroTouch" RenderMode="Lightweight" Width="59px" AutoPostBack="true" OnSelectedIndexChanged="ddlFromDay_SelectedIndexChanged"></telerik:RadComboBox>
     
                                                    <telerik:RadLabel ID="lblToDay" runat="server" Text="To Day" Skin="MetroTouch" RenderMode="Lightweight"></telerik:RadLabel>
     
                                                    <telerik:RadComboBox ID="ddlToDay" runat="server" Filter="StartsWith" Skin="MetroTouch" RenderMode="Lightweight" Width="59px" AutoPostBack="true" OnSelectedIndexChanged="ddlToDay_SelectedIndexChanged"></telerik:RadComboBox>
                                                </telerik:LayoutColumn>
                                                <telerik:LayoutColumn Span="6" CssClass="tdmakeleft">
                                                    <telerik:RadLabel ID="lblof" runat="server" Text="of" Skin="MetroTouch" RenderMode="Lightweight"></telerik:RadLabel>
                                                    <telerik:RadComboBox ID="ddlMonth" runat="server" Filter="StartsWith" Skin="MetroTouch" RenderMode="Lightweight" Width="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlMonth_SelectedIndexChanged"></telerik:RadComboBox>
                                                    <telerik:RadComboBox ID="ddlYear" runat="server" Filter="StartsWith" Skin="MetroTouch" RenderMode="Lightweight" Width="100px" AutoPostBack="true" OnSelectedIndexChanged="ddlYear_SelectedIndexChanged"></telerik:RadComboBox>
                                                </telerik:LayoutColumn>
                                            </Columns>
                                        </telerik:LayoutRow>
                                    </Rows>
                                    <Rows>
                                        <telerik:LayoutRow>
                                            <Columns>
                                                <telerik:LayoutColumn Span="12" CssClass="tdmakeright">
                                                    <asp:Literal ID="litTargetSales" runat="server"></asp:Literal>
                                                </telerik:LayoutColumn>
                                            </Columns>
                                        </telerik:LayoutRow>
                                    </Rows>
                                </telerik:RadPageLayout>
                            </fieldset>
Back to Top