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
4695
ultraDateTimeEditor
posted

Dear all,

I am using ultraDateTimeEditor and have the simple question.

How can I assign the null or empty string to this value?? As I want to check if the datetime is not selected or inputed.

  • 53790
    posted

    Hi,

    By default, when you get ultraDataTimeEditor in your application, the property "Value" has some data and time. I suggest you to clear  this property via code or via designer. Please look the example below:

    If you have any quations do not hesitate to ask me

    Regards

    Georgi

    Example:

     

    ultraDateTimeEditor1.Value =

     

    null;

    and then you can make your check

     

     

     

    if

     

     

    (ultraDateTimeEditor1.Value == null)