1 Attachment(s)
Datefield cannot bind anymore
Hi Guys,
Kindly assist.
I have been using ext 1.x for close to 4 years. Suddenly the detefield cannot bind to a system datetime.
This is the issue:
<CODE>
<ext:DateField AnchorHorizontal="92%" ID="ReceiptDate" DataIndex="ReceiptDate" runat="server" AllowBlank="false" MsgTarget="Side" LabelStyle="font-size: 11px; font-weight: bold" FieldLabel="Receipt Date" SelectedDate='<%# DateTime.Now %>' ReadOnly='<%# Session["CanBackDate"] %>' AutoDataBind="true" OnDataBinding="ReceiptDate_DataBinding">
<Listeners>
<Select Handler="Ext.net.DirectMethods.PersistReceiptDate( ReceiptDate.getValue());" />
</Listeners>
</ext:DateField>
</CODE>
NB/ I bind DateTime.Now to the ReceiptDate, but it returns null:
Attached is the error:Attachment 24812
Thanks.
Appreciated!!