PostBack ID Null for AjaxManager

2 posts, 0 answers
  1. William
    William  avatar
    72 posts
    Member since:
    Jun 2011

    Posted 19 Oct 2011 Link to this post

    I'm getting an error: get_postBackElement().id' is null or not an object. This only occurs when I add in the RadAjaxManager, so I'm fairly sure it has something to do with that. This doesn't seem all that complicated. Am I missing something?


        <telerik:RadAjaxManager ID="RadAjaxManager222" runat="server">
            <telerik:AjaxSetting AjaxControlID="Timer1">
                    <telerik:AjaxUpdatedControl ControlID="improvementRadGrid" LoadingPanelID="improvementLoading" />
    <h1> Improvement Day Inventory </h1>
    <br />
    <telerik:RadAjaxLoadingPanel ID="improvementLoading" runat="server" />
    <telerik:RadGrid ID="improvementRadGrid" runat="server" AutoGenerateColumns="false" DataSourceID="inventoryDataSource">
                <telerik:GridBoundColumn DataField="Description" HeaderText="Description" />
                <telerik:GridBoundColumn DataField="Count" HeaderText="Quanitity" HeaderStyle-Font-Bold="true" ItemStyle-Font-Bold="true" />
                <telerik:GridBoundColumn DataField="MinimumQuantity" HeaderText="Min" />
                <telerik:GridBoundColumn DataField="MaximumQuantity" HeaderText="Max" />
    <asp:Timer ID="Timer1" runat="server" Interval="5000" OnTick="Timer1_Tick" />
    <asp:SqlDataSource ID="inventoryDataSource" runat="server"
    ConnectionString="<%$ ConnectionStrings:AssetWhereConnectionString %>"
    SelectCommand="ImprovementDay" SelectCommandType="StoredProcedure"></asp:SqlDataSource>


    public void Timer1_Tick(object sender, EventArgs e)
  2. Iana Tsolova
    Iana Tsolova avatar
    3388 posts

    Posted 24 Oct 2011 Link to this post

    Hello William ,

    Under which .NET version is the web site built? If it is .NET 4.0 can you try setting the Page ClientIDMode to AutoID and see if it makes any difference?

    Iana Tsolova
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Back to Top