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

RadWindow Conflicts with RadAjaxManager

1 Answer 168 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Ahmed asked on 05 Sep 2012, 07:04 PM
My RadWindow Conflicts with RadAjaxManager it makes it appears twice one behind one i don't know what is the problem ...i show my radwindow from server side using VisibleOnPageLoad=true ..
When i Remove my RadAjaxManager it works fine with me so what is the problem
<asp:UpdatePanel ID="pnlMyCalendar" runat="server" UpdateMode="Conditional">
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <telerik:AjaxSetting AjaxControlID="pnlScheduler">
                        <telerik:AjaxUpdatedControl ControlID="pnlScheduler" LoadingPanelID="ralp" />
        <telerik:RadAjaxLoadingPanel ID="ralp" runat="server" InitialDelayTime="0" MinDisplayTime="1000"
            <table style="width: 100%; height: 100%; background-color: white;">
                <tr style="height: 100%">
                    <td align="center" valign="middle" style="width: 100%">
                        <asp:Image ID="Image2" runat="server" ImageUrl="~/DesktopModules/UCPScheduler/loading1.gif"
                            AlternateText="loading" />
                <asp:Panel ID="pnlScheduler" runat="server">
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
        <telerik:RadWindow runat="server" ID="wdoMyCalendar" RestrictionZoneID="ContentTemplateZone"
             Modal="true" Width="500px" Behaviors="Resize, Close, Move">
                <div style="background-color: #00738E">
                    <div id="divAppointmentHistory" runat="server" />
                    <telerik:RadGrid ID="gvwAppointmentHistory" runat="server" GridLines="None" AutoGenerateColumns="False"
                        <FilterMenu EnableImageSprites="False">
                        <MasterTableView AutoGenerateColumns="False" DataKeyNames="AppointmentHistoryID"
                            <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                            <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                                <HeaderStyle Width="20px"></HeaderStyle>
                            <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                                <HeaderStyle Width="20px"></HeaderStyle>
                                <telerik:GridBoundColumn DataField="CreatedDate" DataType="System.DateTime" FilterControlAltText="Filter Change Date/Time column"
                                    HeaderText="Change Date/Time" SortExpression="CreatedDate" UniqueName="CreatedDate">
                                <telerik:GridBoundColumn DataField="Description" DataType="System.String" FilterControlAltText="Filter Description column"
                                    HeaderText="Change Description" SortExpression="Description" UniqueName="Description">
                                <telerik:GridBoundColumn DataField="StatusName" DataType="System.String" FilterControlAltText="Filter Status column"
                                    HeaderText="Status" SortExpression="StatusName" UniqueName="StatusName">
                                <telerik:GridBoundColumn DataField="CreatedByName" DataType="System.String" FilterControlAltText="Filter Changed By column"
                                    HeaderText="Changed By" SortExpression="CreatedByName" UniqueName="CreatedByName">
        <asp:Button ID="btnSubmit" runat="server" Text="Button" Style="display: none" OnClick="btnSubmit_Click" />
        <asp:HiddenField ID="hfCurAppointmentID" runat="server" />

1 Answer, 1 is accepted

Sort by
Top achievements
Rank 1
answered on 06 Sep 2012, 11:47 AM
I am not sure exactly what you are trying to do, but here are some problems I see with the snippet you sent:

1) take the RadAjaxManager out of the update panel, it is a control that creates update panels

2) open the RadWindow from the code-behind as suggested in the sticky thread at the top of the section:

3) take the RadWindow out of the update panel and the panel updated by the RadAjaxManager. If you need AJAX inside its ContentTemplate - this article will tell you how to do it:
Asked by
Top achievements
Rank 1
Answers by
Top achievements
Rank 1
Share this question