PDA

View Full Version : [CLOSED] BorderLayout not work when CalendarPanel included



mis@adphk.com
Mar 28, 2013, 4:36 AM
Cannot Collapse the East Region when i use CalendarPanel


<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="frmDlvyCalendar.aspx.vb" Inherits="prjExternalNet.frmDlvyCalendar" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>

<ext:ResourceManager ID="ResourceManager1" runat="server" />

<ext:Viewport ID="Viewport1" runat="server" Layout="FitLayout">
<Items>

<ext:Panel ID="plBorder" Title="Order Menu" runat="server" Layout="BorderLayout" Split="true" Collapsible="true">
<Items>

<ext:CalendarPanel ID="calDlvy" runat="server" Height="600" Width="790" MinWidth="500" Region="Center">
<ext:CalendarStore ID="calstoDlvy" runat="server"></ext:CalendarStore>
<ext:EventStore ID="evtstoDlvy" runat="server"></ext:EventStore>
</ext:CalendarPanel>

<ext:Panel ID="plDtp" runat="server" Collapsible="true" split="true" MinWidth="100" MinHeight="180" Region="East" Title="Message">
<Items>
<ext:DatePicker ID="dtpSelection" runat="server">
</ext:DatePicker>
</Items>
</ext:Panel>
</Items>
</ext:Panel>
</Items>
</ext:Viewport>

</div>
</form>
</body>
</html>

Daniil
Mar 28, 2013, 6:14 AM
Hi,

Please remove "ext:" for the EventStore and CalendarStore.

It must look like this.

Example

<ext:CalendarPanel runat="server">
<CalendarStore runat="server">
...
</CalendarStore>
<EventStore runat="server">
...
</EventStore>
</ext:CalendarPanel>

mis@adphk.com
Mar 28, 2013, 7:28 AM
It works, Thanks