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
115
Problem in Datecolumn
posted

I have an Infragistics ultrawebgrid. One my columns is a datetype which binds to a webdatechooser control.

On save i get an error message that date cannot be null. Is there any steps in the gridinitialize etc....

  • 28464
    posted

    Hello,

    WebDateChooser has a property AllowNull - setting it to true is one way to deal with the problem. The other approach is to modify the datasource and set all date null values for that column to a valid date value (say, System.DateTime.Now)