in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Validating datedit

Last post 07-02-2008 4:33 PM by C1_JohnAd. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-02-2008 10:03 AM

    Validating datedit

    Scenario:

    Dateedit control:

    Datasource = Bindingsource1

    DataField = field(DateTime)


    BindingNavigator:

    DataSource = BindingSource1

     
    BindingSource:

     DataSource = TypedDataSet

     
    In PostvalidatingEvent we set e.Succeded = false when validation fails.

    This error is triggered when pressing the movenext button on the bindingnavigator.

    On error the dateedit control accepts alfanumeric chars. The mask is currupted....

    When pressing a button that moves to next row via bindingssource the dateditcontrol still works.

     
    Regards

    Peter

     
    PS: We are running Input for .Net 2.0 version 2.0.20073.33104
     

    Filed under: ,
  • 07-02-2008 4:33 PM In reply to

    Re: Validating datedit

    Hi,
     
    Please tyr this with the latest build of C1Input for .Net which can be download from the following link:
     
    Hope this helps.
     
    Regards,
    John Adams
     
    <peternielsen> wrote in message news:203431@10.0.1.98...

    Scenario:

    Dateedit control:

    Datasource = Bindingsource1

    DataField = field(DateTime)


    BindingNavigator:

    DataSource = BindingSource1


    BindingSource:

     DataSource = TypedDataSet


    In PostvalidatingEvent we set e.Succeded = false when validation fails.

    This error is triggered when pressing the movenext button on the bindingnavigator.

    On error the dateedit control accepts alfanumeric chars. The mask is currupted....

    When pressing a button that moves to next row via bindingssource the dateditcontrol still works.


    Regards

    Peter


    PS: We are running Input for .Net 2.0 version 2.0.20073.33104
     



    http://helpcentral.componentone.com/cs/forums/p/74815/203431.aspx#203431

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.