Preventing a modal dialog from doign a postback

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi all,

I have a situation where I'm using a modal dialog to merely show the user
some data. Once the user has finished, there is only one button to click to
return to the previous (parent) page but a postback is done. The modal
dialog is invoked from a linkbutton on the parent.

How can I prevent this unnecessary postback?

Regards
John.
 
on the button

<input type=button value = "close" onclick="window.close();return false;" >
 
Back
Top