This is a migrated thread and some comments may be shown as answers.

incompatibility between RadAjaxManager and extenders

3 Answers 106 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
CSurieux
Top achievements
Rank 2
CSurieux asked on 21 Jan 2008, 01:25 PM
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

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Jan 2008, 01:56 PM
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
0
CSurieux
Top achievements
Rank 2
answered on 24 Jan 2008, 04:11 PM
Thanks but you don't use RadScriptManager but ajaxToolkit:ToolkitScriptManager , what is the difference ?
CS
0
Steve
Telerik team
answered on 25 Jan 2008, 02:10 PM
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
Tags
Ajax
Asked by
CSurieux
Top achievements
Rank 2
Answers by
Steve
Telerik team
CSurieux
Top achievements
Rank 2
Share this question
or