Oct 30, 2010, 5:59 PM
[CLOSED] [1.0] DateField MonthPicker with daterange
Hi,
Is there a way to activate the daterange functionality on DateField that uses MonthPicker plugin? DateRange only works if no plugin is declared.
Here's my code:
Regards,
Marcelo
Is there a way to activate the daterange functionality on DateField that uses MonthPicker plugin? DateRange only works if no plugin is declared.
Here's my code:
<ext:CompositeField ID="compositeStudyYear" runat="server" FieldLabel="Study Year">
<Items>
<ext:DateField ID="datefieldStudyYearFrom" runat="server" Width="100" Vtype="daterange">
<CustomConfig>
<ext:ConfigItem Name="endDateField" Value="#{datefieldStudyYearTo}" Mode="Value" />
</CustomConfig>
<Plugins>
<ext:MonthPicker runat="server"></ext:MonthPicker>
</Plugins>
</ext:DateField>
<ext:Label runat="server" Text=" To " />
<ext:DateField ID="datefieldStudyYearTo" runat="server" Width="100" Vtype="daterange">
<CustomConfig>
<ext:ConfigItem Name="startDateField" Value="#{datefieldStudyYearFrom}" Mode="Value" />
</CustomConfig>
<Plugins>
<ext:MonthPicker ID="MonthPicker1" runat="server"></ext:MonthPicker>
</Plugins>
</ext:DateField>
</Items>
</ext:CompositeField>
Appreciate your help on this.Regards,
Marcelo
Last edited by Daniil; Nov 09, 2010 at 8:39 PM.
Reason: [CLOSED]