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

Radloadingpanel and panel asp

1 Answer 53 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 20 Dec 2012, 10:32 AM
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

1 Answer, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 20 Dec 2012, 02:05 PM
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.
Tags
Ajax
Asked by
Fabio Cirillo
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Share this question
or