AjaxRequest failure

3 posts, 0 answers
  1. Matthew
    Matthew avatar
    51 posts
    Member since:
    Oct 2012

    Posted 27 Nov 2012 Link to this post

    I have this markup which executes:
    <telerik:RadAjaxManager ID="ramTicket" runat="server" OnAjaxRequest="ramTicket_AjaxRequest" DefaultLoadingPanelID="ralpPrivate">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ramTicket">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="panTicketList" />
                    <telerik:AjaxUpdatedControl ControlID="panTicket" />
                    <telerik:AjaxUpdatedControl ControlID="panTotalTickets" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
     
    <telerik:RadCodeBlock runat="server">
        <script type="text/javascript">
            // The subscribed close function for the Ticket window
            function OnTicketClose(sender, args) {
                var ramTicket = $find('<%= ramTicket.ClientID %>');
                ramTicket.ajaxRequest('Rebind: ' + args);
            }
        </script>
    </telerik:RadCodeBlock>
    and fails to fire the server method ramTicket_AjaxRequest. I've verified that the OnTicketClose function fires with Firebug.

    A related point, the loading panel appears as it should, but never goes away.

    What is preventing the request?
  2. Eyup
    Admin
    Eyup avatar
    3796 posts

    Posted 30 Nov 2012 Link to this post

    Hi Matthew,

    I have created a sample web site using the provided code snippet. On my side everything works as expected and the event fires correctly. Please check out the attached application and determine the crucial differences between our projects.

    Greetings,
    Eyup
    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.
  3. Matthew
    Matthew avatar
    51 posts
    Member since:
    Oct 2012

    Posted 30 Nov 2012 Link to this post

    I was able to get help from a more experienced developer today, and he discovered that the disconnect was due to a nonexistent control that the RadAjaxManager was still trying to update.

    As always, thanks for being speedy.
Back to Top