Thanks Paulo,
I have gone through the videos. I am aware of the server side validation. I also kept the validation property of button to "Client and server". As shown in the video we can achieve the functionality.
As the input type = number is rendered as html5 number type input and if we use the min attribute then the control itself will validate according to our min and max attributes specification on client side.
So as we are using "client and server", I am trying to display an appropriate message to the user on client side validation itself.
But when i specify min attribute to 1 and i enter 0 then on client side validation it is giving "Integer Expected" message.
I have gone through the videos. I am aware of the server side validation. I also kept the validation property of button to "Client and server". As shown in the video we can achieve the functionality.
As the input type = number is rendered as html5 number type input and if we use the min attribute then the control itself will validate according to our min and max attributes specification on client side.
So as we are using "client and server", I am trying to display an appropriate message to the user on client side validation itself.
But when i specify min attribute to 1 and i enter 0 then on client side validation it is giving "Integer Expected" message.