is work on server side.
will work on client side, after rendering the page,
is a equivalent method for client side
event. As you know normally, client side events occur before the server side events. So that the "
" event occurs before the
Regarding your requirement, you have to change your code. Basically you have to remove the "
" attribute. And then after the postback (when the
" event occurs you have to register the following script.
Please check the following link for more detail
basically you should look
Please try, if you are still having issue, please let me know I'll provide the sample.
if you want to open this without window.open you have to use the DIV popup. following link will help you
See this also