Hi,
I have this
OnClientClick="window.close()"
for the Linkbutton. when I run the page locally using "http://192.168...", I can close the IE window by this. But when I run the same page of the website in other machine other than using "http://192.168...", the window cannot be closed by such way. why?
See following for crossbrowser solution for window close() funciton
http://csharpdotnetfreak.blogspot.com/2008/11/javascript-windowclose-does-not-work-in.html
try this
window.open('', '_self', '');
window.close()
Thanks all.
Sorry, with these codes
Testing