Torna al Thread
function CallNotification() {
var PwdAttuale = '<%=ViewState("PasswordAttuale")%>';
var notification = $find("<%= RadNotification1.ClientID %>");
var txtpwdnow = $find("<%= txtpwdnow.ClientID %>");
var txtpwdnew = $find("<%= txtpwdnew.ClientID %>");
var txtpwdnewconf = $find("<%= Txtpwdnewconf.ClientID %>");
if (txtpwdnow != PwdAttuale) {
var messaggio = "Password attuale errata.";
notification.set_text(messaggio);
notification.show();
return false;
}
if (txtpwdnew != txtpwdnewconf) {
var messaggio = "Password di conferma errata.";
notification.set_text(messaggio);
notification.show();
return false;
}
}