Nov 15, 2013, 8:18 AM
-
-
-
Nov 17, 2013, 2:39 PM
[PARTIALLY SOLVED] Layout Resizing on Browser Resizing (Ext.Net 2.x)
The problem is related to STORE reference in a Panel with Layout=AutoLaytout (see MasterPage), even if the Store is contained in a different ContentPlaceHolder in Master Page.
I partially solved moving each store in relevant Gridpanel.
How in case of a store referenced by a PagingToolBar (I can't find Store section in PagingToolBar)?
In the following a semplified child page when I have a PagingToolBar wtih a reference to a Store.
<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="WebForm2.aspx.cs" MasterPageFile="~/Motors/Motors.Master" Inherits="Motors.Motors.DDT1" %> <%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TagPrefix="CR" %> <%@ Import Namespace="System.Collections.Generic" %> <%@ Import Namespace="System.Globalization" %> <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %> <asp:Content ID="Content2" ContentPlaceHolderID="Code1" runat="Server"> <ext:Store ID="DDT_store" runat="server" > <Model> <ext:Model ID="Model1" runat="server" IDProperty="Id"> <Fields> <ext:ModelField Name="Numero" Type="Int" /> </Fields> </ext:Model> </Model> <Listeners> <DataChanged Handler="var record = this.getAt(0) || {};#{Testata_DDT}.getForm().loadRecord(record); " Delay="10" /> </Listeners> </ext:Store> </asp:Content> <asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="Server" > <ext:Panel ID="MainPanel" runat="server" Title="Documenti di Trasporto (DDT)"> <Items> <ext:FormPanel ID="Testata_DDT" runat="server" ButtonAlign="Right" AutoScroll="true" Padding="5" TrackResetOnLoad="true" > <Items> <ext:TextField ID="Numero" DataIndex="Numero" runat="server" AnchorHorizontal="95%" FieldLabel="N.DDT" MaxWidth="200" ReadOnly="true" /> </Items> <BottomBar> <ext:PagingToolbar ID="DDT_toolbar" StoreID="DDT_store" runat="server" DisplayInfo="false" HideRefresh="true" > </ext:PagingToolbar> </BottomBar> </ext:FormPanel> </Items> </ext:Panel> </asp:Content>
Thanks.
Stefano -
Nov 18, 2013, 4:43 AM
[SOLVED] Layout Resizing on Browser Resizing (Ext.Net 2.x)
Solved using <Bin> Section of PagingToolBar.
Stefano
Similar Threads
-
Items in TabPanel not resizing when browser is resized
By dangerlinto in forum 2.x HelpReplies: 2Last Post: Oct 18, 2013, 2:25 PM -
Viewport moves after resizing browser (only in Chrome)
By rvenix in forum 2.x HelpReplies: 8Last Post: Apr 03, 2013, 4:17 PM -
Not all GridPanels are resizing
By chris.salas in forum 1.x HelpReplies: 0Last Post: Jan 25, 2011, 2:10 PM -
Resizing Layout when using Resizable & TextArea Grow
By ljcorreia in forum 1.x HelpReplies: 1Last Post: Mar 17, 2010, 7:39 AM -
[CLOSED] Layout resizing issue
By randy85253 in forum 1.x Legacy Premium HelpReplies: 12Last Post: Feb 05, 2010, 2:06 PM