Jun 14, 2011, 8:23 PM
[CLOSED] Portlet Split attribute
I was using the portal and portal column, and came across the split property, normally this is used to enable a spliter control in panels. However setting this property does not enable the split seprator for the portals. How can split work for a portal. below is my code snippet.
<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ 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">
<title>Deluxe Portal in TabPanel - Ext.NET Examples</title>
</head>
<body>
<ext:ResourceManager runat="server" />
<ext:Viewport runat="server" StyleSpec="background-color: transparent;" AutoScroll="true" IDMode="Explicit">
<Items>
<ext:BorderLayout ID="BorderLayout1" runat="server" AutoScroll="true">
<Center MarginsSummary="5 5 5 0" >
<ext:Panel ID="Panel2" runat="server"
BodyStyle="background-color: transparent;"
Layout="Anchor" AutoScroll="true" Border="false">
<Items>
<ext:Portal
ID="PortletHost"
runat="server"
Border="false"
BodyStyle="background-color: transparent;"
Layout="Column" AutoScroll="true" MonitorResize="True" Cls="x-portal" AnchorHorizontal="100%" AnchorVertical="100%" IDMode="Explicit" Split="True">
<Items>
<ext:PortalColumn runat="server" ColumnWidth="0.33" DefaultAnchor="100%" AnchorHorizontal="100%" AnchorVertical="100%" Layout="anchor" StyleSpec="padding:10px 20px 10px 10px;overflow:scroll" AutoScroll="true" Split="True">
<Items>
<ext:Portlet ID="Portlet1" Title="Panel 2" runat="server" Height="300"/>
<ext:Portlet ID="Portlet4" Title="Another Panel 2" runat="server" Height="300" />
<ext:Portlet ID="Portlet7" Title="Panel 2" runat="server" Height="300"/>
<ext:Portlet ID="Portlet8" Title="Another Panel 2" runat="server" Height="300"/>
</Items>
</ext:PortalColumn>
<ext:PortalColumn runat="server" ColumnWidth="0.33" DefaultAnchor="100%" AnchorHorizontal="100%" AnchorVertical="100%" Layout="anchor" StyleSpec="padding:10px 20px 10px 10px;overflow:scroll" AutoDoLayout="false" AutoScroll="true" Split="True">
<Items>
<ext:Portlet ID="Portlet2" Title="Panel 2" runat="server" Height="300" />
<ext:Portlet ID="Portlet3" Title="Another Panel 2" runat="server" Height="300" />
<ext:Portlet ID="Portlet5" Title="Panel 2" runat="server" Height="300" />
<ext:Portlet ID="Portlet6" Title="Another Panel 2" runat="server" Height="300" />
</Items>
</ext:PortalColumn>
<ext:PortalColumn runat="server" ColumnWidth="0.33" DefaultAnchor="100%" AnchorHorizontal="100%" AnchorVertical="100%" Layout="anchor" StyleSpec="padding:10px 20px 10px 10px;overflow:scroll" AutoScroll="true" Split="True">
<Items>
<ext:Portlet Title="Panel 2" runat="server" Height="300"/>
<ext:Portlet Title="Another Panel 2" runat="server" Height="300" />
<ext:Portlet Title="Panel 2" runat="server" Height="300" />
<ext:Portlet Title="Another Panel 2" runat="server" Height="300"/>
</Items>
</ext:PortalColumn>
</Items>
</ext:Portal>
</Items>
</ext:Panel>
</Center>
</ext:BorderLayout>
</Items>
</ext:Viewport>
</body>
</html>
Last edited by Daniil; Jun 27, 2011 at 12:46 PM.
Reason: [CLOSED]