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

RadWindow closes very slow

3 Answers 81 Views
Window
This is a migrated thread and some comments may be shown as answers.
Adrian
Top achievements
Rank 2
Adrian asked on 10 Apr 2009, 08:28 AM
Hello,

I have a problem when closing a rad window. It takes around 1-2s for the close button to get focus when i hover it, and another 1-2s to close the window. So if i click on th e close button, it takes almost 4s for the window to dissapear.

This is the code calling the window :
 <telerik:RadWindowManager ID="RadWindowManager1" runat="server"
            <Windows> 
                <telerik:RadWindow  
                    id="RadWndOH"  
                    runat="server" 
                    showcontentduringload="false" 
                    width="100%" 
                    height="100%" 
                    title="Order History" 
                    behaviors="Close" Modal="true"
                </telerik:RadWindow> 
            </Windows> 
            </telerik:RadWindowManager> 
     
 
        <script type="text/javascript"
            //<![CDATA[
            function ShowOhWindow(navigateUrl) {
                var radWnd = radopen(navigateUrl, "RadWndOH");
                radWnd.maximize();
               }
            //]]> 
        </script> 

In the page that i'm loading inside the radwindow i have a telerik splitter with 2 panes. In the left pane i have a telerik panel menu and in the right one 2 grids.
And also, when the close button finally gets focus, the grid headers width are being modified for a split second, all except the first row. They shift 5-10px to the left, and then they go back to their initial position. Every time i move the mouse over the close button. Or maybe this is an issue for the grid forum? But it only happens within a rad window.

This is the code for the grid (the grid is placed inside a rad panel):

<telerik:RadGrid ID="gridSearchResOrders" runat="server" AutoGenerateColumns="False" BorderStyle="None" 
                                                        BorderWidth="0px" EnableAJAX="true" GridLines="None" AllowSorting="true" Height="100%" 
                                                        HorizontalAlign="Center" OnNeedDataSource="gridSearchResOrders_NeedDataSource" OnItemCreated="gridSearchResOrders_ItemCreated" 
                                                        AllowPaging="True"
                                                        <PagerStyle AlwaysVisible="True" Mode="NextPrevAndNumeric" /> 
                                                        <MasterTableView DataKeyNames="D_Order_ID" HeaderStyle-Wrap="false" ItemStyle-Wrap="false" 
                                                           NoMasterRecordsText="No orders to display." 
                                                            ShowFooter="True" TableLayout="Fixed"
                                                            <DetailTables> 
                                                                <telerik:GridTableView runat="server" DataKeyNames="D_Order_Line_ID" NoDetailRecordsText="No order lines to display." 
                                                                    PagerStyle-AlwaysVisible="false" ShowFooter="True" Width="100%"
                                                                    <ParentTableRelation> 
                                                                        <telerik:GridRelationFields DetailKeyField="Order_Link" MasterKeyField="D_Order_ID" /> 
                                                                    </ParentTableRelation> 
                                                                    <Columns> 
                                                                        <telerik:GridBoundColumn DataField="D_Order_Line_ID" HeaderText="orderLineId" SortExpression="D_Order_Line_ID" 
                                                                            UniqueName="D_Order_Line_ID" Visible="False" /> 
                                                                        <telerik:GridBoundColumn Aggregate="Count" DataField="Name_On_Card" FooterText="Total no of order lines : " 
                                                                            HeaderStyle-Width="40%" HeaderStyle-Wrap="false" HeaderText="Name" SortExpression="First_Name" 
                                                                            UniqueName="First_Name"
                                                                        </telerik:GridBoundColumn> 
                                                                        <telerik:GridBoundColumn DataField="Printer_Name" HeaderStyle-Width="20%" HeaderStyle-Wrap="false" 
                                                                            HeaderText="Printer name" SortExpression="Printer_Name" UniqueName="Printer_Name"
                                                                        </telerik:GridBoundColumn> 
                                                                        <telerik:GridBoundColumn DataField="StatusName" HeaderStyle-Width="20%" HeaderStyle-Wrap="false" 
                                                                            HeaderText="Status" SortExpression="StatusName" UniqueName="StatusName"
                                                                        </telerik:GridBoundColumn> 
                                                                        <telerik:GridBoundColumn DataField="StatusChangeDate" HeaderStyle-Width="20%" HeaderStyle-Wrap="false" 
                                                                            HeaderText="Status changed date" SortExpression="StatusChangeDate" UniqueName="StatusChangeDate"
                                                                        </telerik:GridBoundColumn> 
                                                                    </Columns> 
                                                                    <NestedViewTemplate> 
                .....                                                                                                        </NestedViewTemplate> 
                                                                </telerik:GridTableView> 
                                                            </DetailTables> 
                                                            <ExpandCollapseColumn Visible="True"
                                                                <HeaderStyle Width="30px" Wrap="True" BorderStyle="None"/> 
                                                            </ExpandCollapseColumn> 
                                                            <Columns> 
                                                                <telerik:GridBoundColumn DataField="D_Order_ID" Display="False" HeaderText="D_Order_ID" 
                                                                    UniqueName="D_Order_ID"
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="Purchase_Nr" HeaderText="Purchase Nr" SortExpression="Purchase_Nr" 
                                                                    HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true" UniqueName="cPurchase_Nr"
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="syscreatedate" HeaderText="Created date" SortExpression="syscreatedate" 
                                                                    HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true" UniqueName="cSyscreatedate"
                                                                </telerik:GridBoundColumn> 
                                                                <telerik:GridBoundColumn DataField="YourOrderReference" HeaderText="Your Order Reference" 
                                                                    HeaderStyle-Wrap="false" HeaderStyle-Font-Bold="true" SortExpression="YourOrderReference" 
                                                                    UniqueName="cYourOrderReference"
                                                                </telerik:GridBoundColumn> 
                                                            </Columns> 
                                                            <ItemStyle Wrap="False" /> 
                                                            <AlternatingItemStyle Wrap="false" /> 
                                                            <HeaderStyle Wrap="False" /> 
                                                        </MasterTableView> 
                                                        <ClientSettings> 
                                                            <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                                                        </ClientSettings> 
                                                        <FilterMenu EnableTheming="True"
                                                            <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                                        </FilterMenu> 
                                                    </telerik:RadGrid> 


What could be the cause for this? 
I'm using the Q1 2009 version of telerik components.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 10 Apr 2009, 10:23 AM
Hi Adrian,

Your scenario is little bit complex and the provided information is not enough for us to locate the exact reason for this behavior. Could you please open a new support ticket and send us a runnable project where we can observe this behavior? We will check it and do our best to provide a solution.

Greetings,
Fiko
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Kenneth Mazur
Top achievements
Rank 1
answered on 07 Oct 2009, 03:59 AM
Could you post the resolution of the ticket that got open for this issue.
Thanks
0
Georgi Tunev
Telerik team
answered on 08 Oct 2009, 11:08 AM
Hi Kenneth,

Adrian didn't send us a project, so this ticket was closed. If you have such project that reproduces the problem that you experience, please send it to us and we will check it.



Sincerely yours,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Adrian
Top achievements
Rank 2
Answers by
Fiko
Telerik team
Kenneth Mazur
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or