Radajaxmanager fails when updating asp:panel set to visible=false

2 posts, 0 answers
  1. Geoff
    Geoff avatar
    27 posts
    Member since:
    May 2012

    Posted 23 Oct 2014 Link to this post

    I have a radiobuttonlist that contains a value that when selected, opens a hidden asp:panel and hides the current.

    <asp:RadioButtonList ID="ShippingAddressRadioButtonList" runat="server" AutoPostBack="true" OnClick="CheckoutButtonDisable()">

    Selected value on server side sets visible = true for said panel

    <asp:Panel ID="AddNewShippingPanel" runat="server" Visible="false" DefaultButton="AddNewSaveButton">
                     //Several textboxes and drop downs contained here.              

    RadAjaxManagerProxy is set to update the wrapping panel that wraps all content on the page
    <asp:Panel ID="CheckoutWrapperPanel" runat="server">
    //All page content here

    RadAjaxManagerProxy outside of the wrapper is updating all other controls on page as desired except for the AddNewShippingPanel which is triggered by the RadioButtonList.

    <telerik:AjaxSetting AjaxControlID="ShippingAddressRadioButtonList">
            <telerik:AjaxUpdatedControl ControlID="CheckoutWrapperPanel" LoadingPanelID="LoadingPanel" />

    Viewing with Firefox's plugin Firebug, I am getting a script error coming from telerik which is a generic TypeError: a is undefined . If I remove the ajaxproxy update, my scenario works fine, just with no ajax or updatepanel.

    What can I do to remedy this so that when I update the panel set to visible=false, that the ajax will fire with no error?
  2. Geoff
    Geoff avatar
    27 posts
    Member since:
    May 2012

    Posted 23 Oct 2014 in reply to Geoff Link to this post

    Turns out there was no problem with the telerik controls. I had a project issue where some redirection code was causing a 404 on ScriptResource.axd .

    No assistance is needed.
Back to Top