Tuesday

close popup window c#


string clientScript = @"<script language='javascript'>
window.opener.location.reload();
window.close();
</script>";

this.Page.ClientScript.RegisterStartupScript(clientScript.GetType(),"_reload",clientScript);


more...

No comments:

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...