Hey, first of all, great API, really handy and timesaving.
I'm using it in an aspx to mask a Date field, it works perfect.
The problem is that now i need to catch the textchanged event of it on the server side, in order to do some calculations on the server side, but with new DateMask(...), the event doesn't fire in the server side, here are some snippets of the code:
Client-Side
Javascript:
//Data de realização
var errorMessage = "Data inválida: ${value}. Formato esperado: ${mask}";
var dateMask1 = new DateMask("dd/MM/yyyy", "txtDataRealizacao");
dateMask1.validationMessage = errorMessage;
ASPX:
Server-Side
ASPX.VB:
Is there any known workaround?
PS: I've also tried javascript OnChange event, but no luck either.
Last edit: Rui Miranda 2013-05-08
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, first of all, great API, really handy and timesaving.
I'm using it in an aspx to mask a Date field, it works perfect.
The problem is that now i need to catch the textchanged event of it on the server side, in order to do some calculations on the server side, but with new DateMask(...), the event doesn't fire in the server side, here are some snippets of the code:
Client-Side
Javascript:
//Data de realização
var errorMessage = "Data inválida: ${value}. Formato esperado: ${mask}";
var dateMask1 = new DateMask("dd/MM/yyyy", "txtDataRealizacao");
dateMask1.validationMessage = errorMessage;
ASPX:

Server-Side
ASPX.VB:

Is there any known workaround?
PS: I've also tried javascript OnChange event, but no luck either.
Last edit: Rui Miranda 2013-05-08