Why Postback open a new window..?

B

Bsiang Tan

Dear all expert,


I use javascript to open a modal dialog window
window.showModalDialog('child.aspx');

but in my child.aspx, got a button, when I click the button, it will do
the postback, mean that it shoul refresh the page.. but in my case, the open
another window...
why this happen ? isn't the postback will only refresh in the same window ?

Am I missing something ? Please kindly point me my mistake...

Thank you very much.

Best regards,
Bsiang.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,286
Latest member
ChristieSo

Latest Threads

Top