Nov 04, 2010, 1:35 PM
AutoScroll doesn't work anymore
Hi guys;
I just upgrade to 1.0RC from 0.82, I realize that "AutoScroll" property of Form Panel doesn't work correctly. Did anyone solve this issue.
I minimized the problem in TestPage.aspx, thanks for help.
I just upgrade to 1.0RC from 0.82, I realize that "AutoScroll" property of Form Panel doesn't work correctly. Did anyone solve this issue.
I minimized the problem in TestPage.aspx, thanks for help.
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="AppContentFrame.master.vb"
Inherits="ApplicationBlocks.WebUI.AppContentFrame" %>
<%@ 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 id="Head1" runat="server">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<asp:ContentPlaceHolder ID="cphHeader" runat="server" />
</head>
<body>
<ext:ResourceManager ID="ExtResourceManager" runat="server" HideInDesign="True" />
<ext:Viewport runat="server" Layout="border" ID="masterViewPort">
<Items>
<ext:TreePanel Region="West" ID="siteMenu" runat="server" Icon="ChartOrganisation"
Title="Hızlı MenĂ¼" AutoScroll="true" Collapsed="False" HideParent="False" RootVisible="False"
BodyStyle="padding:5px" TitleCollapse="true" Width="210" SingleExpand="true"
Visible="false" Margins="3 0 3 3" Collapsible="true" CMargins="3 0 3 3" />
<ext:Panel runat="server" Region="Center" Margins="3 3 3 3" Layout="Fit">
<Content>
<asp:ContentPlaceHolder ID="cphContentFrameBody" runat="server" />
</Content>
<BottomBar>
<ext:StatusBar ID="statusBar" runat="server">
<Items>
<ext:ToolbarSpacer />
<ext:ToolbarFill />
<ext:ToolbarTextItem ID="ttiEnvironment" runat="server" />
<ext:ToolbarSeparator />
<ext:ToolbarTextItem ID="ttiLoginUser" runat="server" />
</Items>
</ext:StatusBar>
</BottomBar>
</ext:Panel>
</Items>
</ext:Viewport>
</body>
</html>
And the content page<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/AppContentFrame.Master"
CodeBehind="TestPage.aspx.vb" Inherits="ApplicationBlocks.WebUI.TestPage" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphContentFrameBody" runat="server">
<ext:FormPanel ID="formPanelContent" runat="server" MonitorValid="true" MonitorPoll="500"
Border="false" BodyStyle="padding:10px;" AutoScroll="true" Title="Sample Title">
<Content>
<ext:FormLayout ID="flReportParameters" runat="server" LabelWidth="150">
<Anchors>
<ext:Anchor>
<ext:TextField runat="server" Cls="input-item" FieldLabel="demo 1" LabelCls="field-text"
AllowBlank="false" />
</ext:Anchor>
<ext:Anchor>
<ext:TextField ID="TextField1" runat="server" Cls="input-item" FieldLabel="demo 1"
LabelCls="field-text" AllowBlank="false" />
</ext:Anchor>
<ext:Anchor>
<ext:TextField ID="TextField2" runat="server" Cls="input-item" FieldLabel="demo 1"
LabelCls="field-text" AllowBlank="false" />
</ext:Anchor>
<ext:Anchor>
<ext:TextField ID="TextField3" runat="server" Cls="input-item" FieldLabel="demo 1"
LabelCls="field-text" AllowBlank="false" />
</ext:Anchor>
<ext:Anchor>
<ext:TextField ID="TextField4" runat="server" Cls="input-item" FieldLabel="demo 1"
LabelCls="field-text" AllowBlank="false" />
</ext:Anchor>
</Anchors>
</ext:FormLayout>
</Content>
</ext:FormPanel>
</asp:Content>