Dafield cannot bind anymore

  1. #1

    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:Click image for larger version. 

Name:	error.jpg 
Views:	103 
Size:	98.1 KB 
ID:	24812

    Thanks.
    Appreciated!!
    Last edited by ilanga; Jan 13, 2017 at 6:15 AM.

Similar Threads

  1. [CLOSED] HeaderItems for CommandColumn not defined anymore
    By FpNetWorth in forum 3.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 14, 2015, 11:32 AM
  2. [CLOSED] chart not working anymore
    By HansWapenaar in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 10, 2014, 11:18 AM
  3. [CLOSED] DirectMethods not called anymore
    By wagger in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: May 04, 2011, 6:51 PM
  4. AutoScroll doesn't work anymore
    By tenkyu in forum 1.x Help
    Replies: 6
    Last Post: Nov 05, 2010, 2:26 PM
  5. [1.0] Autoscroll not working anymore in Portal
    By AlexWight in forum 1.x Help
    Replies: 4
    Last Post: Apr 06, 2010, 12:11 PM

Posting Permissions