Test RadMaskEdit with Null Value

2 posts, 0 answers
  1. Flavio
    Flavio avatar
    22 posts
    Member since:
    Jan 2011

    Posted 12 Aug 2014 Link to this post

    Hi!
    Id like know how do I  check if the  RadMaskEdit    contains some values or is null?
    (__)-_______

    If (this.radMaskEdit.Value != null)
       {
          validate .....
       }  
    else
      {
          alert....
      }

  2. Dimitar
    Admin
    Dimitar avatar
    1411 posts

    Posted 15 Aug 2014 Link to this post

    Hello Flavio,

    Thank you for contacting us.

    You code looks OK and this is how you should check if the value is null. This is why I wanted to ask you if this code does not work on your side or perhaps something else is not working properly?

    I am looking forward to your reply.

    Regards,
    Dimitar
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top