Ajax not working after upgrade 2010.2.929.35

3 posts, 0 answers
  1. Ted
    Ted avatar
    47 posts
    Member since:
    Jan 2008

    Posted 19 Oct 2010 Link to this post

    I upgraded a project to the latest version 2010.2.929.35 and I had Radcombobox that when changed updated a grid with a Linqdatasource but now changing the combobox won't refresh the grid.  any thoughts on what may have happened?

    this is in my masterpage
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />            
                <asp:ScriptReference Path="Scripts/SessionKeepalive.js" />            
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">




    this is the combobox


    <telerik:RadComboBox ID="_Stage" runat="server" AutoPostBack="True" 
                            <telerik:RadComboBoxItem runat="server" Text="Pre-Proposal" Value="Pre-Proposal" />
                            <telerik:RadComboBoxItem runat="server" Text="Proposal" Value="Proposal" />
                            <telerik:RadComboBoxItem runat="server" Text="Active" Value="Active" />




    grid header


    <telerik:RadGrid ID="_opps" runat="server" DataSourceID="LinqDataSource1" 
                GridLines="None" AllowFilteringByColumn="True" AllowSorting="True" 
            Width="1600px" onitemdatabound="_opps_ItemDataBound" 
            onitemcreated="_opps_ItemCreated" >            
                <ExportSettings ExportOnlyData="True" IgnorePaging="True" 
                    <Excel Format="ExcelML" />
    <MasterTableView AutoGenerateColumns="False" DataSourceID="LinqDataSource1" 
                    DataKeyNames="OPPORTUNITYID" UseAllDataFields="True">





    LinqDatasource where parameters

                        <asp:ControlParameter ControlID="_Stage" Name="STAGE" 
                            PropertyName="SelectedValue" Type="String" />
                        <asp:ControlParameter ControlID="_Type" Name="TYPE" 
                            PropertyName="SelectedValue" Type="String" />


    I setup the ajax using

    private object Content(string id)        
       return Page.Master.FindControl(id);
    protected void Page_Load(object sender, EventArgs e)
       AjaxManager.AjaxSettings.AddAjaxSetting(_opps, _opps);
       AjaxManager.AjaxSettings.AddAjaxSetting(_opps, _number);
  2. Ted
    Ted avatar
    47 posts
    Member since:
    Jan 2008

    Posted 20 Oct 2010 Link to this post

    OK.  never mind.  I just had to specifically tell it what loading panel to use where before I didn't have too.  Not sure if that is considered a bug or not but it works as long as I specify the Loading panel to use.

    Actually the Ajax call was working before, I just wasn't seeing the Loading panel so I didn't think that it was working. 
  3. Pavlina
    Pavlina avatar
    6187 posts

    Posted 21 Oct 2010 Link to this post

    Hi Ted,

    I am glad you were able to make the things work. However, I recommend that you review the help articles below for more information about how RadAjax works:

    Best wishes,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top