Apr 04, 2011, 10:18 PM
[0.8] Master with Tabpanel Layout
Hello,
I have been trying to accomplish a fitlayout like the examples, sorry for using this old version but i got i project that i would not like to upgrade yet. My problem is that when i try to lower my resolution its impossible to me to make scrollbars to appear with an autoheight and autowidth. Please i need help. I have been searching and found a lot of pots but none of them worked for me.
or How to open in the tab with layout fit like the example but without the Treeview, tabs are going to be webpages...
MASTER
This page calls others URLs.
Where main Controls are.
I have been trying to accomplish a fitlayout like the examples, sorry for using this old version but i got i project that i would not like to upgrade yet. My problem is that when i try to lower my resolution its impossible to me to make scrollbars to appear with an autoheight and autowidth. Please i need help. I have been searching and found a lot of pots but none of them worked for me.
or How to open in the tab with layout fit like the example but without the Treeview, tabs are going to be webpages...
MASTER
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="URL.master.vb"
Inherits="URLs" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="cool" %>
<!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">
<cool:ScriptManager ID="smMaster" runat="server">
</cool:ScriptManager>
<cool:ViewPort ID="vpMaster" runat="server">
<Body>
<cool:BorderLayout ID="BorderLayout1" runat="server">
<North>
<cool:Panel ID="pnNorth" runat="server" Height="100">
<Body>
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</Body>
</cool:Panel>
</North>
<Center>
<cool:Panel ID="pnCenter" runat="server" AutoHeight="true">
<Body>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</Body>
</cool:Panel>
</Center>
</cool:BorderLayout>
</Body>
</cool:ViewPort>
</form>
</body>
</html>
ParentPageThis page calls others URLs.
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Asalariados.Master"
CodeBehind="URLsControlPanel.aspx.vb" Inherits="URLsControlPanel" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="cool" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<cool:Panel ID="pnCenter" runat="server">
<Body>
<cool:FitLayout ID="FitLayout1" runat="server">
<cool:TabPanel ID="tbMenu" runat="server" ActiveTabIndex="0" Height="700">
<Tabs>
<cool:Tab ID="tabURL3" runat="server" Title="3. URL3" Icon="BulletCross" AutoHeight="true" AutoScroll="true">
<Body>
<cool:Panel ID="Panel3" runat="server" AutoHeight="true">
<AutoLoad Url="URL3.aspx" ShowMask="true" MaskMsg="Loading..." Mode="IFrame"
ReloadOnEvent="true" NoCache="true">
</AutoLoad>
</cool:Panel>
</Body>
</cool:Tab>
</Tabs>
</cool:TabPanel>
</cool:FitLayout>
</Body>
</cool:Panel>
</asp:Content>
ChildPageWhere main Controls are.
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="URL3.aspx.vb"
Inherits="Asalariados.URL3" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="cool" %>
<!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="frmDependientes" runat="server">
<cool:ScriptManager ID="smurl3" runat="server" Locale="es-do" AjaxMethodNamespace="url3">
</cool:ScriptManager>
<cool:Store ID="sturl3" runat="server" OnRefreshData="url3_Refresh">
<Reader>
<cool:JsonReader>
<Fields>
<cool:RecordField Name="name1" Type="Date" />
<cool:RecordField Name="name2" Type="String" />
<cool:RecordField Name="name3" Type="String" />
</Fields>
</cool:JsonReader>
</Reader>
</cool:Store>
<cool:Spotlight ID="spotURL3" runat="server" Easing="EaseOut" Duration="0.3">
</cool:Spotlight>
<cool:Panel ID="Panel1" runat="server" Height="600">
<Body>
<cool:BorderLayout ID="BorderLayout1" runat="server">
<Center>
<cool:GridPanel ID="gpurl3" runat="server" StoreID="sturl3" StripeRows="true"
Title="Dependientes" TrackMouseOver="true" AutoWidth="true" Height="300">
<ColumnModel ID="ColumnModel1" runat="server">
<Columns>
<cool:Column Header="NAME1" Width="140" DataIndex="name1" MenuDisabled="true" />
<cool:Column Header="NAME2" Width="140" DataIndex="name2" MenuDisabled="true" />
<cool:Column Header="NAME3" Width="80" DataIndex="name3" MenuDisabled="true">
<Renderer Fn="tipoRelacion" />
</cool:Column>
<cool:CommandColumn Width="30">
<Commands>
<cool:GridCommand Icon="BulletCross" CommandName="Delete" StandOut="true">
<ToolTip Text="Delete" />
</cool:GridCommand>
</Commands>
</cool:CommandColumn>
</Columns>
</ColumnModel>
<SelectionModel>
<cool:RowSelectionModel ID="RowSelectionModel1" runat="server" SingleSelect="true">
</cool:RowSelectionModel>
</SelectionModel>
<LoadMask ShowMask="true" Msg="Loading..." />
</cool:GridPanel>
</Center>
<South>
<cool:FormPanel ID="frmpnurl3" runat="server" Title="Add Url3"
BodyStyle="padding:5px;" ButtonAlign="Right" Height="300" LabelWidth="150" MonitorPoll="500"
MonitorValid="true">
<Body>
<cool:FormLayout ID="FormLayout1" runat="server">
<cool:Anchor Horizontal="30%">
<cool:DateField ID="dfurl3" runat="server" FieldLabel="date url3"
AllowBlank="false" ReadOnly="true">
</cool:DateField>
</cool:Anchor>
<cool:Anchor Horizontal="30%">
<cool:TextField ID="tfname1" runat="server" FieldLabel="name1" AllowBlank="true"
<Listeners>
<Render Handler="this.el.dom.setAttribute('onPaste', 'return false');" />
</Listeners>
</cool:TextField>
</cool:Anchor>
<cool:Anchor Horizontal="40%">
<cool:TextField ID="tfname2" runat="server" FieldLabel="Name2" AllowBlank="false" />
</cool:Anchor>
<cool:Anchor Horizontal="40%">
<cool:TextField ID="tfnam3" runat="server" FieldLabel="name3"/>
</cool:Anchor>
</cool:FormLayout>
</Body>
<Buttons>
<cool:Button ID="btnSave" runat="server" Text="save">
</cool:Button>
</Buttons>
</cool:FormPanel>
</South>
</cool:BorderLayout>
</Body>
</cool:Panel>
</form>
</body>
</html>