public void OnResetPassword(UserRowData userRowData) { if (_controller.ResetPassword(userRowData)) { PasswordResetConfirmation.Message = string.Format(SR.AdminUser_PasswordReset, userRowData.UserName); } else { PasswordResetConfirmation.Message = ErrorMessages.PasswordResetFailed; } PasswordResetConfirmation.Title = Titles.AdminUser_PasswordResetDialogTitle; PasswordResetConfirmation.MessageType = MessageBox.MessageTypeEnum.INFORMATION; PasswordResetConfirmation.Show(); }