Closing current tab only on buttn click
I have a link button. on click of link button a new tab opens and displays the content i want to. the new tab has a cancel button. i want that on click of cancel button this current tab should close only and not the whole browser. how can i do this on button click.
6 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Zoran HorvatRank #792 · 2.9K reputationPosted Jul 26, 2011, 12:13 AM EDT
close
Zoran
Suthish NairRank #92 · 22.8K reputationPosted Jul 26, 2011, 12:08 AM EDT
nishant ranjanRank #4,961 · 317 reputationPosted Jul 26, 2011, 1:36 AM EDT
this is working for me on !ispostback
thanks for suggestions
Zoran HorvatRank #792 · 2.9K reputationPosted Jul 26, 2011, 1:38 AM EDT
Please don't forget to check "This is correct answer" checkbox if the solution worked for you.
Zoran
nishant ranjanRank #4,961 · 317 reputationPosted Jul 26, 2011, 1:41 AM EDT
Sunil Gupta41 reputationPosted Sep 28, 2018, 9:06 PM EDT