Radloadingpanel and panel asp

2 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    180 posts
    Member since:
    Jan 2010

    Posted 20 Dec 2012 Link to this post

    hi guys,
    i've created a web page where there's one object panel asp and one RoundedCornersExtender .
    Now when I run a code behind and part of the loadingpanel, at the end of the operation the asp panel no longer has round edges, as if there were no more or RoundedCornersExtender does not work, why?
    this my code:
    <form id="form1" runat="server">
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="Imgbtnrecupera">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="Panel1"
                            LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server"
            DecoratedControls="All" Skin="Sunset" />
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"
            Skin="Simple" HorizontalAlign="Center" BorderColor="#D5842B"
            BorderStyle="Double" BorderWidth="1px" Width="420px">
        </telerik:RadAjaxLoadingPanel>
        <div style="font-family: Verdana; font-size: small; width: 420px; height: 240px; text-align:center; ">
            <div style="margin: 0px; border: 0px; padding-left: 0px; width: 420px; text-align: center">
                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px"
                    width="300px">
                    <asp:Panel ID="Panel1" runat="server" BackColor="#F0F0F0" BorderColor="Silver"
                    Width="420px" Height="240px">
                        <table style="width:100%;">
                            <tr>
                                <td  style="text-align: left; padding-left:9px" colspan="2" class="style1">
                                    <asp:Label ID="Label1" runat="server" Text="Dati per la convalida (email)"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td  style="width: 400px; text-align: left; padding-left:9px" colspan="2">
                                    <telerik:RadTextBox ID="Txtdati" Runat="server"
                                EmptyMessage="Inserire indirizzo email" LabelWidth="140px" Skin=""
                                Width="400px" ValidationGroup="Gropu">
                                        <EmptyMessageStyle ForeColor="#CCCCCC" />
                                    </telerik:RadTextBox>
                                </td>
                            </tr>
                            <tr>
                                <td  style="width: 400px; text-align: left; padding-left:9px" colspan="2">
                                    <telerik:RadCaptcha ID="RadCaptcha1" Runat="server"
                                CaptchaLinkButtonText="Nuovo codice"
                                CaptchaTextBoxLabel="Inserire il codice dell'immagine"
                                EnableRefreshImage="True" ErrorMessage="Codice errato" Font-Names="Verdana"
                                Font-Size="Small" ValidationGroup="Group" Width="400px" Skin="">
                                    </telerik:RadCaptcha>
                                </td>
                            </tr>
                            <tr>
                                <td  style="width: 400px; text-align: center; padding-top:5px">
                                    <asp:ImageButton ID="Imgbtnrecupera" runat="server"
                                ImageUrl="~/Image/Recupera.png" />
                                </td>
                                <td  style="width: 400px; text-align: center; padding-top:5px">
                                     <asp:ImageButton ID="Imgbtnesci" runat="server" ImageUrl="~/Image/esci1.png"
                                     ValidationGroup="close" />
                                </td>
                            </tr>
                            <tr>
                                <td  style="width: 400px; text-align: center" colspan="2">
                                     </td>
                            </tr>
                        </table>
                    </asp:Panel>
                    <asp:RoundedCornersExtender ID="Panel1_RoundedCornersExtender" runat="server"
                    BorderColor="Silver" Enabled="True" Radius="4"
        TargetControlID="Panel1">
                    </asp:RoundedCornersExtender>
                </telerik:RadAjaxPanel>
        <telerik:RadNotification ID="RadNotification1" runat="server" Height="100px"
            Skin="Simple" TitleIcon="~/Image/iconlogo.png" Width="400px"
            AutoCloseDelay="3500" Position="Center" Title="Recupero password">
        </telerik:RadNotification>
            <telerik:RadNotification ID="RadNotification2" runat="server" Height="100px"
            Skin="Simple" TitleIcon="~/Image/iconlogo.png" Width="300px"
            AutoCloseDelay="5000" Position="Center" Title="Recupero password">
        </telerik:RadNotification>
            </div>
        </div>
        </form>

    also when I click the button imgbtnesci, the radwindow not close and there is a refresh of the radcaptcha
    bye
  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 20 Dec 2012 Link to this post

    Hello Fabio,

    Remove the RadAjaxPanel from your page. Telerik advises not to use the RadAjaxManager and RadAjaxPanel together, especially in your case when you are ajaxifying Panel1, which is inside a RadAjaxPanel.

    I hope that helps.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top