Sep 14, 2012, 9:19 AM
[CLOSED] Help with autoload merge mode
Hi, I'm trying to make an example with AutoLoad Merge
My example is based on https://examples1.ext.net/#/GridPane...rayWithPaging/
Default.aspx
Ext.Net.Utilities v.1.3.0.39155
Please, can you help me with sample
Best regards,
Vlad
PS: in iframe mode all works fine
My example is based on https://examples1.ext.net/#/GridPane...rayWithPaging/
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Viewport ID="MainViewport" runat="server" Layout="border">
<Items>
<ext:TabPanel ID="etpMain" runat="server" Region="Center" LayoutOnTabChange="true"
EnableTabScroll="true" DeferredRender="false" MinTabWidth="85">
<Items>
<ext:Panel ID="pnlCenter" runat="server" Title="Home" Padding="5">
<AutoLoad Url="~/ArrayWithPaging/Default.aspx" Mode="Merge" />
<%--<AutoLoad Url="~/ArrayWithPaging/Default.aspx" Mode="IFrame" />--%>
</ext:Panel>
</Items>
<Plugins>
<ext:TabCloseMenu ID="TabCloseMenu1" runat="server" />
</Plugins>
</ext:TabPanel>
</Items>
</ext:Viewport>
</form>
</body>
</html>
Default.aspx.csusing System;
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
In ArrayWithPaging/Default.aspx use <ext:ResourceManager ID="ResourceManager2" runat="server" RenderScripts="None" RenderStyles="None" />
I get following error when I start my sample in Google Chrome:Uncaught TypeError: Cannot read property 'PagingStore' of undefined
(anonymous function)
h.Event.fireext.axd:221
v.onDocumentReadyext.axd:3065
(anonymous function)
(anonymous function)ext.axd:4034
Bext.axd:575
Ext.lib.Event.Fext.axd:597
in IE8:Сообщение: Неизвестная ошибка выполнения
Строка: 7
Символ: 81251
Код: 0
URI-код: http://localhost:58781/extjs/ext-all-js/ext.axd?v=0
process in the IE debugger stopped at dom.innerHTML=html.replace(/(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)/ig,"")
Ext.Net v.1.5.1.0Ext.Net.Utilities v.1.3.0.39155
Please, can you help me with sample
Best regards,
Vlad
PS: in iframe mode all works fine
Last edited by Daniil; Sep 18, 2012 at 12:27 PM.
Reason: Please use [CODE] tags, [CLOSED]