SimpleModal breaks ASP.Net Postbacks

Posted by tghw on Stack Overflow See other posts from Stack Overflow or by tghw
Published on 2008-08-26T23:19:47Z Indexed on 2010/03/17 1:21 UTC
Read the original article Hit count: 664

I'm using jQuery and SimpleModal in an ASP.Net project to make some nice dialogs for a web app. Unfortunately, any buttons in a modal dialog can no longer execute their postbacks, which is not really acceptable.

There is one source I've found with a workaround, but for the life of me I can't get it to work, mostly because I am not fully understanding all of the necessary steps.

I also have a workaround, which is to replace the postbacks, but it's ugly and probably not the most reliable. I would really like to make the postbacks work again. Any ideas?

UPDATE: I should clarify, the postbacks are not working because the Javascript used to execute the post backs has broken in some way, so nothing happens at all when the button is clicked.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript