Nezir Zahirović

JavaScript check if ComboBox.Text is not equals NULL

With this JavaScript code we do check if ComboBox.Text property is not equals NULL
We write this code in Client Side of Control.

Example : on Client Side Click event of ASPxButton Controls, if ComboBox is NULL we will see an JavaScript Alert with Message. ClientSide options are part of DevExpress control toolkit ;)

if(combo.GetValue() != null){

callback1.PerformCallback();
}else{
alert(' You didn't choose any option in ComboBox !');
}
SHARE
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment