Dec 07, 2011, 1:19 AM
[CLOSED] DateField: How to disable auto correct?
Hi,
When I type in 00-May-2011, it will auto correct to 30-Apr-2011.
When I type in 35-May-2011, it will auto correct to 04-Jun-2011.
How can I disable this feature and display it to user as invalid dates?
Thanks.
When I type in 00-May-2011, it will auto correct to 30-Apr-2011.
When I type in 35-May-2011, it will auto correct to 04-Jun-2011.
How can I disable this feature and display it to user as invalid dates?
Thanks.
<ext:DateField ID="dfDateRangeFrom" runat="server" EndDateField="dfDateRangeTo"
Vtype="daterange" Format="dd-MMM-yyyy" Width="120"
AltFormats="d-MMM-yyyy|d-M-yyyy|d-M-yy|d/MMM/yyyy|d/M/yyyy|d/M/yy">
<ToolTips>
<ext:ToolTip ID="ToolTip_dfDateRangeFrom" runat="server"
Html="Press <b>ENTER</b> to activate filter" />
</ToolTips>
<Listeners>
<SpecialKey Fn="enterKeyPressHandler" />
</Listeners>
</ext:DateField>
<ext:DateField ID="dfDateRangeTo" runat="server" StartDateField="dfDateRangeFrom"
Vtype="daterange" Format="dd-MMM-yyyy" Width="120"
AltFormats="d-MMM-yyyy|d-M-yyyy|d-M-yy|d/MMM/yyyy|d/M/yyyy|d/M/yy">
<ToolTips>
<ext:ToolTip ID="ToolTip_dfDateRangeTo" runat="server"
Html="Press <b>ENTER</b> to activate filter" />
</ToolTips>
<Listeners>
<SpecialKey Fn="enterKeyPressHandler" />
</Listeners>
</ext:DateField>
Last edited by Daniil; Dec 12, 2011 at 3:05 PM.
Reason: [CLOSED]