Jan 30, 2010, 8:42 AM
[CLOSED] Desktop Window | Toolbar | Dropdownfield Component
Hey,
There is an issue with dropdownfield, when placed in a toolbar in DesktopWindow specifically. The component inside dropdownfield is not registered on the client side.
Check the following example. The calendarTree is not registered on the client side.
There is an issue with dropdownfield, when placed in a toolbar in DesktopWindow specifically. The component inside dropdownfield is not registered on the client side.
Check the following example. The calendarTree is not registered on the client side.
<ext:Desktop
ID="MyDesktop"
runat="server"
BackgroundColor="White"
ShortcutTextColor="Black">
</ext:Desktop>
<ext:desktopwindow runat="server" ForceLayout="true" ID="winDesk" Height="400" Width="500">
<TopBar>
<ext:Toolbar runat="server">
<items>
<ext:DropDownField ID="calDD" LazyInit="false" CtCls="cmbPad" runat="server" Editable="false" Width="150" Icon="Combo">
<Component>
<ext:TreePanel ID="calendarTree"
runat="server"
Header="false"
Icon="Accept"
Height="300"
Shadow="None"
UseArrows="true"
AutoScroll="true"
Animate="true"
EnableDD="true"
ContainerScroll="true"
RootVisible="false">
<Root>
<ext:TreeNode NodeID="1"></ext:TreeNode>
</Root>
<Editors>
<ext:TreeEditor ID="TreeEditor1" runat="server" AutoEdit="false">
<Field>
<ext:TextField ID="TextField1" runat="server" />
</Field>
</ext:TreeEditor>
</Editors>
</ext:TreePanel>
</Component>
</ext:DropDownField>
</items>
</ext:Toolbar>
</TopBar>
</ext:DesktopWindow>