Oct 31, 2017, 6:18 AM
KeyMap object prevent DesktopModuleProxy Window to be appeared in Desktop control.
Hi there!
Why when I use KeyMap object in content tag of my ButtonGroup object, the Window object of DesktopModuleProxy will not be appeared in my Desktop control?!?
My code is
Why when I use KeyMap object in content tag of my ButtonGroup object, the Window object of DesktopModuleProxy will not be appeared in my Desktop control?!?
My code is
<ext:ButtonGroup ID="ButtonGroupSelect" runat="server" Title="Select" Columns="1">
<Content>
<ext:KeyMap runat="server" Target="#{ContentPanel}">
<Binding>
<ext:KeyBinding Ctrl="True" Handler="#{StatsButtonSelectAll}.fireEvent('click');">
<Keys>
<ext:Key Code="A" />
</Keys>
</ext:KeyBinding>
</Binding>
</ext:KeyMap>
</Content>
<Items>
<ext:Button ID="StatsButtonSelectAll" runat="server" Text="Select all" ToolTip="Select all items in this view. (Ctrl+A)" OnDirectClick="ButtonSelectAll_Click" />
<ext:Button ID="StatsButtonSelectNone" runat="server" Text="Select none" ToolTip="Clear all your selections." OnDirectClick="ButtonSelectNone_Click" />
<ext:Button ID="StatsButtonInvertSelection" runat="server" Text="Invert selection" ToolTip="Reverse the CURRENT SELECTION." OnDirectClick="ButtonInvertSelection_Click" />
</Items>
</ext:ButtonGroup>
Last edited by ArashRahimian; Oct 31, 2017 at 6:44 AM.