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){

alert(' You didn't choose any option in ComboBox !');
    Blogger Comment
    Facebook Comment


Post a Comment