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

Radgrid & Page unload

12 Answers 241 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter Ryckaert
Top achievements
Rank 1
Peter Ryckaert asked on 27 Aug 2010, 01:30 PM
We currently have a problem with our application when unloading a page (Closing tab, or navigating a new url). The page can contain up to 15 Grids, if I remove some grids the problem disappear but I remove functionality so this is not the solution.

The problems occured since I came back from holiday, and I'm looking for the whole day now, after looking into the code of my colleague, and the complete site, I imagined that the problem was the 4 new grids we added to the page. So I removed some grids and the problem disappear, regardless of the grids I am disabling.

It works perfectly in Firefox, and the unload of a page is done instantly, with IE7 it takes ages, and if there is too much grids we got an error : "Script is running slow.... Blahblah.. Do you want to stop the script ?.

Is there any trick to speed up the unload of the grids ? or just to skip them ? or anything else to avoid that error and waiting time when browsing to another page or closing the tab.

Thank you

Laurent Lequenne

12 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 27 Aug 2010, 02:38 PM
Hello Peter,

Tips on how to optimize the RadGrid performance using different techniques can be found in the online resources linked below:

http://www.telerik.com/help/aspnet-ajax/gridoverview.html (Chapter "Performance tips and tricks")
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/support/aspnet-ajax.aspx (Section "Performance")

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Peter Ryckaert
Top achievements
Rank 1
answered on 31 Aug 2010, 10:10 AM
Thanks for the readings,

But it doesn't talk about unloading. I don't have any performances problems while my page is running. I have a problem on Internet Explorer when I leave the page, and the problem is how the Grids are unloaded ? Maybe you can tell me how to programmatically unload grids, so I can make some tests, and see if it can make my day  ?

0
Pavlina
Telerik team
answered on 03 Sep 2010, 08:23 AM
Hi Peter,

To unload  the grid you can call the Dispose() method which performs any final cleanup before Telerik RadControls for ASP.NET AJAX is torn down. See Methods in ASP.NET Server Controls.

Sincerely yours,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Peter Ryckaert
Top achievements
Rank 1
answered on 03 Sep 2010, 08:52 AM
Hello,

And how do I unload the grid on the client side.... Without any postback ? My problem occurs when the browser is leaving the page, so even when the user enters a new url in the address bar, the page can not be properly unloaded....

Thanks
0
Peter Ryckaert
Top achievements
Rank 1
answered on 07 Sep 2010, 02:40 PM
var tableArray = new Array();
$(window).unload(function() {
    for (var x = 0; x < tableArray.length; x++) {
    tableArray[x].get_masterTableView().dispose();
    tableArray[x].dispose();
    }
});

I even tryed something like this... No result ... SCRIPT TOO LONG DO YOU WANT TO STOP ?

 

0
Pavlina
Telerik team
answered on 08 Sep 2010, 03:03 PM
Hello Peter,

Could you please elaborate what exactly you mean by: "the page can not be properly unloaded"? Also if  it is convenient for you please send us isolated runnable application which demonstrates your scenario and the issue you are facing? Thus we will be able to test it locally and do our best to isolate the root cause of the problem.

Thank you in advance for your cooperation

Kind regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Peter Ryckaert
Top achievements
Rank 1
answered on 27 Sep 2010, 10:58 AM
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestTelerik.aspx.cs" Inherits="Augustina.Web.WebForm1" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  
<head runat="server">
    <title></title>    
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            <asp:ScriptReference Path="~/Admin/Services/GridDataServices.svc/jsDebug" />
        </Scripts>
    </asp:ScriptManager>
      
    <div>
<div id="workGridPanel">
    <asp:Panel runat="server" ID="ToolbarPanel">
    <div class="au-bar au-buttons">
        <ul>
            <asp:Repeater Visible="true" ID="rptMainToolbar" runat="server">
                <ItemTemplate>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
    </div>
    </asp:Panel>
  
    <script language="javascript">
  
    function RefreshWorkGrid() {
        $('#workEditPanel').hide();
        $('#workGridPanel').show();
        var tableView = $find("<%=gridWorks.ClientID %>");
        RadGrid1_LoadGrid(tableView, null, null);
    }
    function doWorkAction(command, workId, showTab) {
        if (showTab != null && showTab == true) {
            mainTabBar.ShowTab(0);
        }
        __doPostBack('<%=this.UniqueID%>', command + "_" + workId);
    }
  
    function RadGrid1_OnTableCreated(sender, args) {
        var tableView = $find("<%=gridWorks.ClientID %>");
        RadGrid1_LoadGrid(tableView, null, null);
    }
  
    function RadGrid1_RowDataBound(sender, args) {
        var workId = args.get_dataItem()["WorkId"];
        var cell = args.get_item().get_cell("EditWork");
        if (cell != null) {
            cell.onclick = function() { doWorkAction("ViewWork", workId) };
        }        
    }
  
    function RadGrid1_Command(sender, args) {
        if (args != null) {
            args.set_cancel(true);
        }
          
        var command = args.get_commandName()
        if (command == "ViewWork" || command == "DeleteWork") {
            sender.get_masterTableView().editItem(args.get_itemIndexHierarchical());
            if (args != null) {
                args.set_cancel(false);
            }
            return;
        }
  
        RadGrid1_LoadGrid(sender, null, command); 
      
    }
      
    function RadGrid1_LoadGrid(sender, arg, command)
    {
        var pageSize = sender.get_masterTableView().get_pageSize();
        var sortExpressions = sender.get_masterTableView().get_sortExpressions();
        var filterExpressions = sender.get_masterTableView().get_filterExpressions();
        var currentPageIndex = sender.get_masterTableView().get_currentPageIndex();
  
        if (command == null || command  == "Filter")
            currentPageIndex = 0;
  
        var sortExpressionsAsSQL = sortExpressions.toString();
        var filterExpressionsAsSQL = filterExpressions.toDynamicLinq();
  
  
  
        services = new GridDataServices();
        services.GetWorks(
                currentPageIndex * pageSize,
                pageSize,
                sortExpressionsAsSQL,
                filterExpressionsAsSQL, updateGrid, null, null);
    }
  
    function updateGrid(result) {
        var tableView = $find("<%= gridWorks.ClientID %>").get_masterTableView();
        tableView.set_dataSource(result.Data);
        tableView.dataBind();
        tableView.hideColumn(0);
  
  
        updateVirtualItemCount(result);
  
        document.getElementById("<%=hdnLoaded.ClientID%>").value = "1"; 
    }
  
    function updateVirtualItemCount(result) {
        var tableView = $find("<%= gridWorks.ClientID %>").get_masterTableView();
        tableView.set_virtualItemCount(result.Count);
          
    }        
    </script>
  
    <asp:HiddenField ID="hdnLoaded" Value="0" runat="server" />
    <telerik:RadGrid ID="gridWorks" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid2" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid3" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid4" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid5" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid6" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid7" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
    <telerik:RadGrid ID="RadGrid8" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
      
    <telerik:RadGrid ID="RadGrid9" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
      
      
    <telerik:RadGrid ID="RadGrid10" runat="server" AllowFilteringByColumn="True"
        AllowSorting="True" AutoGenerateColumns="False" GridLines="None" PageSize="20">
        <MasterTableView AllowPaging="true" DataKeyNames="WorkId" ClientDataKeyNames="WorkId">
            <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
            <Columns>
                <telerik:GridBoundColumn DataField="WorkId" DataType="System.Int32" HeaderText="WorkId"
                    Visible="True" ReadOnly="True" SortExpression="WorkId" UniqueName="WorkId">
                </telerik:GridBoundColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" AllowFiltering="False" AllowSorting="False"
                    ImageHeight="" ImageUrl="~/images/icons/book_open.png" ImageWidth="" UniqueName="EditWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridImageColumn ItemStyle-Width="20px" ImageHeight="" Visible="false" AllowFiltering="False"
                    AllowSorting="False" ImageUrl="~/images/icons/book_delete.png" ImageWidth=""
                    UniqueName="DeleteWork">
                    <ItemStyle CssClass="ImageButton" />
                </telerik:GridImageColumn>
                <telerik:GridBoundColumn DataField="AlbericId" DataType="System.Int32" HeaderText="Alberic Id"
                    ReadOnly="True" SortExpression="AlbericID" UniqueName="AlbericId">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FullTitle" HeaderText="Full Title" ReadOnly="True"
                    SortExpression="FullTitle" UniqueName="FullTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PublicationData" HeaderText="Publication" ReadOnly="True"
                    SortExpression="PublicationData" UniqueName="PublicationData">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PubliYear" HeaderText="Public. Year" ReadOnly="True"
                    SortExpression="PubliYear" UniqueName="PubliYear">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Page" HeaderText="Pages" ReadOnly="True" SortExpression="Page"
                    UniqueName="Page">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ISBN" HeaderText="ISBN" ReadOnly="True" SortExpression="ISBN"
                    UniqueName="ISBN">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Authors" HeaderText="Authors" ReadOnly="True"
                    SortExpression="Authors" UniqueName="Authors">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
        <ClientSettings>
            <ClientEvents OnGridCreated="RadGrid1_OnTableCreated" OnRowDataBound="RadGrid1_RowDataBound"
                OnCommand="RadGrid1_Command" />
        </ClientSettings>
    </telerik:RadGrid>
</div>
      
      
    </div>
    </form>
</body>
</html>
0
Peter Ryckaert
Top achievements
Rank 1
answered on 27 Sep 2010, 11:01 AM
Even that previous post causes a script too long dialog box... And I couldn't upload the code file, it only accepts images.
So the previous code is just 10 Grids on a form and only the first one is loaded throught javascript and Webservices...
When navigating to another url on internet explorer, I received a script too long message dialog box. But I just repeat myself over and over. I don't know what I can tell more... Just try to put 10 grids on a page  :-)



0
Pavlina
Telerik team
answered on 30 Sep 2010, 04:14 PM
Hi Peter,

You could open a formal support ticket from your Telerik account and attach a ZIP file there. Thus we will be able to we debug the project and provide you with more to-the-point answer.

Looking forward for your reply.

Regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Vaibhav Sehgal
Top achievements
Rank 1
answered on 13 Jun 2011, 09:18 AM
Telerik team ,

We are getting the same issue in Grid.It happens when we navigate to another page.
We raised a support ticket on 10-06-2011.
Do u have any solution  for this ?.

Thanks

Thomas
0
Pavlina
Telerik team
answered on 14 Jun 2011, 08:16 AM
Hello Vaibhav,

I have noticed that my colleague Maria has already addressed your support ticket that you have submitted on the same matter. To avoid duplicate posts I would suggest that you continue the communication in the support thread.

All the best,
Pavlina
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Brian Stanek
Top achievements
Rank 2
answered on 22 Apr 2013, 01:12 AM
Is it possible to get the solutions to this issue?  While i could supply a support ticket, if the solution presented to the previous posters is provided, i may be able to avoid having to create a support ticket and a solution
Tags
Grid
Asked by
Peter Ryckaert
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Peter Ryckaert
Top achievements
Rank 1
Vaibhav Sehgal
Top achievements
Rank 1
Brian Stanek
Top achievements
Rank 2
Share this question
or