Link to home
Create AccountLog in
Avatar of minglelinch
minglelinch

asked on

Unable to close popup window

I used this.Close() or Window.Close() or window.close() in code behind C# but the populated window does not close. How can I close it? Thanks.
Avatar of s_chilkury
s_chilkury
Flag of United States of America image

window.Close() is a javascript code to close the popup. No need to write it in code behind.
ASKER CERTIFIED SOLUTION
Avatar of s_chilkury
s_chilkury
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of minglelinch
minglelinch

ASKER

Thank you, s_chilkury. I've done ith with javascript window.close().

Merry Christmas !