This is a migrated thread and some comments may be shown as answers.

AjaxManager - Partial Ajaxification in Literal Control

0 Answers 141 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
nithinraj
Top achievements
Rank 1
nithinraj asked on 25 Feb 2017, 08:00 AM

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>

No answers yet. Maybe you can help?

Tags
AjaxLoadingPanel
Asked by
nithinraj
Top achievements
Rank 1
Share this question
or