incompatibility between RadAjaxManager and extenders

4 posts, 0 answers
  1. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 21 Jan 2008 Link to this post

    Hello,

    Using vs2008, I tryed o add the ConfrmButton extender from AjaxControlToolkit to a button.
    This button status is udpated by a dropdownlist selection, the select being Ajaxified by a RadAjaxManager.

    After the Ajax updae of the button, the extender no mre works, seems thta there is an issue with this ?

    here is part of my page
    ....
            <telerik:RadScriptManager ID="RadScriptManager1" Runat="server" EnableScriptGlobalization="true" EnableScriptLocalization="true"  EnableTheming="True">
            </telerik:RadScriptManager>
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
                        DefaultLoadingPanelID="RadAjaxLoadingPanel1">
                <ajaxsettings>
                    <telerik:AjaxSetting AjaxControlID="ddlFileList">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="TbImportTitle" />
                            <telerik:AjaxUpdatedControl ControlID="BtnImport" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </ajaxsettings>
            </telerik:RadAjaxManager>
            <asp:Panel ID=pnlGlobal runat=server align="center" style="text-align: center">
                <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"
                    InitialDelayTime="4" IsSticky="True" Transparency="60" style="position: absolute;
                    left: 50%; top: 40%;">
                    <asp:Image ID="Image1" runat="server" ImageUrl="~/Img/LoadingProgressBar.gif" />
                </telerik:RadAjaxLoadingPanel>
                <table id='TbMain0' cellspacing="4" cellpadding="4" width="100%" border="0">
                    <tr>
                        <td  style="text-align:left; margin-left:20px">
                            <asp:Label ID="lblchoix" runat="server" Text="Fichier à importer"></asp:Label><br />
                            <asp:DropDownList ID="ddlFileList" runat="server" Width="200px" OnSelectedIndexChanged="ddlFileList_SelectedIndexChanged"
                                AutoPostBack="True">
                            </asp:DropDownList>
                        </td>
                        <td  style="text-align:left">
                        </td>
                  </tr>
                  <tr>
                        <td></td>
                        <td  style="text-align:left">
                                <asp:Button ID="BtnImport" Text="Importer" runat="server" OnClick="BtnImport_Click"
                                    Width="200px" Height="21px" />
                                <AjaxControlToolkit:ConfirmButtonExtender ID="BtnImport_ConfirmButtonExtender" runat="server"
                                    ConfirmText="Confirmez-vous le lancement de l'import ?"  TargetControlID="BtnImport" 
                                            DisplayModalPopupID="ModalPopupExtender1" />
                                    <br />
                                    <AjaxControlToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="BtnImport" PopupControlID="PNL" OkControlID="ButtonOk" CancelControlID="ButtonCancel" BackgroundCssClass="modalBackground" />
                                    <asp:Panel ID="PNL" runat="server" style="display:none; width:200px; background-color:White; border-width:2px; border-color:Black; border-style:solid; padding:20px;">
                                        Are you sure you want to click the Button?
                                        <br /><br />
                                        <div style="text-align:right;">
                                            <asp:Button ID="ButtonOk" runat="server" Text="OK" />
                                            <asp:Button ID="ButtonCancel" runat="server" Text="Cancel" />
                                    </asp:Panel>
                        </td>
                    </tr>
                </table>
    .....

    In search for my error or a workaround, thanks for help.

    CS
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 24 Jan 2008 Link to this post

    Hi Christian,

    Make sure that you update the extenders as well. I've just used the confirmbutton extender example and ajaxified it by using Prometheus RadAjaxManager. Find attached the modified file and let me know if further help is needed.

    Best wishes,
    Steve
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. CSurieux
    CSurieux avatar
    465 posts
    Member since:
    Jan 2007

    Posted 24 Jan 2008 Link to this post

    Thanks but you don't use RadScriptManager but ajaxToolkit:ToolkitScriptManager , what is the difference ?
    CS
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 25 Jan 2008 Link to this post

    Hello Christian,

    RadScriptManager is actually our own that adds up to the default ScriptManager functionality (more info here). It should not matter if you are using ScriptManager or our ScriptManager for your case.

    Kind regards,
    Steve
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top