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; } }
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5