Jan 13, 2015, 11:13 PM
[CLOSED] CalendarPanel - Using a custom navigation toolbar
I cannot find a simple example of how to use a custom toolbar to navigate the months of a CalendarPanel.
Can you direct me to an example of this? Please.
I'm thinking something like this (pseudo code):
Thank you!
Can you direct me to an example of this? Please.
I'm thinking something like this (pseudo code):
<ext:Panel ID="pnlPanel" runat="server">
<TopBar>
<ext:Toolbar ID="pTopbar" runat="server">
<ext:Button Text="Previous Month">
<Listeners>
<Click Handler="pnlCalendar.setMonth(pnlCalendar.CurrentMonth - 1)"
</Listeners>
</ext:Button>
<ext:Button Text="Next Month">
<Listeners>
<Click Handler="pnlCalendar.setMonth(pnlCalendar.CurrentMonth + 1)"
</Listeners>
</ext:Button>
</ext:Toolbar>
</TopBar>
<Items>
<ext:CalendarPanel runat="server" ID="pnlCalendar">
</ext:CalendarPanel>
</Items>
</ext:Panel>
Does such a thing exist?Thank you!
Last edited by Daniil; Jan 15, 2015 at 7:39 PM.
Reason: [CLOSED]