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

Grid javascript crash when more than 1 page - 2017.1.118.45

0 Answers 51 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Yenza
Top achievements
Rank 1
Yenza asked on 22 Feb 2017, 02:31 PM

Using Telerik 2017.1.118.45 version.

Having the following setup of my RadGrid:

<telerik:RadGrid runat="server" ID="gvResults" AllowMultiRowSelection="True" AlternatingItemStyle-BackColor="White" PageSize="10" AllowPaging="True" Skin="Bootstrap" AutoGenerateColumns="False" AllowSorting="True" OnNeedDataSource="gvResults_NeedDataSource" GroupPanelPosition="Top" OnItemCommand="gvResults_ItemCommand" OnItemCreated="gvResults_ItemCreated">
                        <ClientSettings EnableRowHoverStyle="true" EnableAlternatingItems="false" EnablePostBackOnRowClick="true">
                            <Selecting AllowRowSelect="true" />
                            <%--<ClientEvents OnRowSelected="onRowSelected" OnRowDeselected="onRowDeselected" />--%>
                        </ClientSettings>
                        <AlternatingItemStyle BackColor="White" />
                        <MasterTableView DataKeyNames="Id">
                            <NestedViewTemplate>
                                <div style="margin: 10px;">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <div>
                                                <h4>
                                                    <%# Eval("OrderCode") %>
                                                </h4>
                                            </div>
                                            <luc:SilencerDetailsView runat="server" ID="silencerDetailsView" />
                                            <telerik:RadAjaxPanel runat="server" ID="apButtonAction">
                                                <div class="btn-group">
                                                    <asp:Button runat="server" ID="btnGenPDF" Text="<%$ Resources:Resource, ButtonGeneratePDF %>" CssClass="btn btn-default" OnClick="btnOpenPDFDialog" />
                                                    <asp:Button runat="server" ID="btnGenDXF" Text="<%$ Resources:Resource, ButtonGenerateDXF %>" CssClass="btn btn-default" OnClick="btnGenDXF_Click" />
                                                    <asp:Button runat="server" ID="btnShowAddDialog" Text="<%$ Resources:Resource, LabelAddToProject %>" CssClass="btn btn-default" OnClick="btnShowAddDialog_Click" />
                                                    <asp:Button runat="server" ID="btnExportToMagiCAD" Text="<%$ Resources:Resource, LabelExportToMagiCAD %>" CssClass="btn btn-default" OnClick="btnExportToMC_Click" />
                                                    <asp:Button runat="server" ID="btnExportToRevit" Text="<%$ Resources:Resource, LabelExportToRevit %>" CssClass="btn btn-default" OnClick="btnExportToRvt_Click" />
                                                </div>
 
                                                <asp:Panel runat="server" ID="pnlActionNotification" Style="margin-top: 5px;" Visible="false"></asp:Panel>
                                            </telerik:RadAjaxPanel>
                                        </div>
                                        <div class="col-md-6">
                                            <luc:ProductDataView runat="server" ID="prodDataView" SelectedIndex="2" />
                                        </div>
                                    </div>
                                </div>
                            </NestedViewTemplate>
                            <Columns>
                                <telerik:GridBoundColumn DataField="Id" FilterControlAltText="Filter column6 column" UniqueName="colId" Visible="False">
                                </telerik:GridBoundColumn>
                                <telerik:GridClientSelectColumn UniqueName="checkColumn">
                                    <HeaderStyle Width="42px" />
                                </telerik:GridClientSelectColumn>
                                <telerik:GridImageColumn DataImageUrlFields="ImageThumbUrl" FilterControlAltText="Filter column column" HeaderText="" ItemStyle-HorizontalAlign="Center" ImageAlign="Middle" ImageHeight="40" ImageWidth="40" UniqueName="column">
                                    <HeaderStyle Width="60px" />
                                </telerik:GridImageColumn>
                                <telerik:GridButtonColumn ButtonType="LinkButton" DataTextField="OrderCode" HeaderText="<%$ Resources:Resource, LabelUserCode %>" UniqueName="colConfigure" CommandName="CONFIGURE"></telerik:GridButtonColumn>
                                <telerik:GridHyperLinkColumn DataNavigateUrlFormatString="../calculator?source=search&id={0}" DataNavigateUrlFields="Id" AllowSorting="false" DataTextField="OrderCode" HeaderText="Ordercode" UniqueName="colOrderCode" Visible="false">
                                </telerik:GridHyperLinkColumn>
                                <telerik:GridBoundColumn AllowSorting="true" SortExpression="ViewModel.Width" DataField="ViewModel.Width" FilterControlAltText="Filter column4 column" UniqueName="colWidth">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn AllowSorting="true" SortExpression="ViewModel.Height" DataField="ViewModel.Height" FilterControlAltText="Filter column4 column" UniqueName="colHeight">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn AllowSorting="true" SortExpression="ViewModel.Length" DataField="ViewModel.Length" FilterControlAltText="Filter column4 column" UniqueName="colLength">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn AllowSorting="true" SortExpression="NumberOfBaffles" DataField="NumberOfBaffles" FilterControlAltText="Filter column4 column" UniqueName="colNbrBaffles">
                                </telerik:GridBoundColumn>
                                <telerik:GridNumericColumn AllowSorting="true" DataField="PriceFactor" Visible="false" FilterControlAltText="Filter column3 column" SortExpression="PriceFactor" UniqueName="colPrice">
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataField="ViewModel.PressureLoss" FilterControlAltText="Filter column2 column" SortExpression="ViewModel.PressureLoss" UniqueName="colPressureLoss">
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataField="SoundPower.Value" AllowSorting="true" SortExpression="SoundPower.Value" FilterControlAltText="Filter column5 column" HeaderText="Sound power [dB(A)]" UniqueName="colSoundPower">
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataField="ViewModel.FaceVelocity" FilterControlAltText="Filter column3 column" UniqueName="colVelocity">
                                </telerik:GridNumericColumn>
                                <telerik:GridButtonColumn Visible="false" ButtonType="PushButton" ButtonCssClass="btn btn-primary" Text="Quick Configure" CommandName="QUICK_CONFIGURE"></telerik:GridButtonColumn>
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>

 

When list goes over 10 and tries to create pages it crashes with error:

Unhandled exception at line 6, column 18774 in http://localhost:50241/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en:4bd8faf8-554d-46be-b2ff-c9d57adb612c:ea597d4b:b25378d2;Telerik.Web.UI:en:e5f799c1-ae8d-47dd-a4eb-e98a7cefaaeb:16e4e7cd:f7645509:22a6274a:ed16cbdc:24ee1bba:33715776:6d43f6d9:88144a7a:58366029
 
0x800a01b6 - JavaScript runtime error: Object doesn't support property or method 'toUpperCase'

Type.prototype.registerEnum=function(b,c){Sys.__upperCaseTypes[b.toUpperCase()]=this;

 

 

 

Unhandled exception at line 6, column 54851 in http://localhost:50241/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en:4bd8faf8-554d-46be-b2ff-c9d57adb612c:ea597d4b:b25378d2;Telerik.Web.UI:en:e5f799c1-ae8d-47dd-a4eb-e98a7cefaaeb:16e4e7cd:f7645509:22a6274a:ed16cbdc:24ee1bba:33715776:6d43f6d9:88144a7a:58366029

0x800a01bd - JavaScript runtime error: Object doesn't support this action

var $create=Sys.Component.create=function(h,f,d,c,g){var a=g?new h(g):new h,b=Sys.Application,i=b.get_isCreatingComponents();a.beginUpdate();

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Yenza
Top achievements
Rank 1
Share this question
or