Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
300
Is there something special required to make Validation work on the DateColumn?
posted

I'm working with version 10.3 of Infragistics, and I am having an issue when attempting to use an editable DateColumn. I want the date to be validated if the user enters a date in the past. I have setup validation by using the RIA Service, and a client side variable. I have also tried using both a validation result return, and throwing exceptions. The grid will not allow me to edit any of the other data rows so I believe that it is seeing that there is a validation problem within the grid, but the problem I'm having is that it will allow me to edit other columns, and unlike the textcolumn it is not displaying the red error box when it doesn't validate.

 

Any Help on this is much appreciated as this is a project I am currenlty working on.

 

Thank you.

  • 6759
    Offline posted

    Hi Benji,

    sorry for the late response.

    The DateColumn(as all columns which inherit from EditableColumn) has a AllowEditingValidation property which must be set to true in order for validation to happen. Supported validation methods are Exception in the setter of a propert as well validation through IDataErrorInfo and the async version for SL INotifyDataErrorInfo.

    If this doesn't work I am gonna need more info for your scenario(sample solution would be best) as well as the exact build you are using in order to investigate the issue further.

    Hope this helps,

  • 300
    posted

    BUMP. 

    I need to know what is going on with this issue.