This is a migrated thread and some comments may be shown as answers.

Test RadMaskEdit with Null Value

1 Answer 20 Views
MaskedEditBox
This is a migrated thread and some comments may be shown as answers.
Flavio
Top achievements
Rank 1
Flavio asked on 12 Aug 2014, 12:36 PM
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....
  }

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 15 Aug 2014, 07:00 AM
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.
 
Tags
MaskedEditBox
Asked by
Flavio
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or