Menu

Want to work with us? We're on the lookout for digital experts.

We're hiring

Issue with PrettyPhoto and partial-page postbacks

Web Bureau


23 November 2011 by Web Bureau

I had a problem with PrettyPhoto not working within an Update Panel.  I found this solution which seems to do the trick:

http://forums.asp.net/p/1468161/3723242.aspx

<script type="text/javascript">
  function pageLoad() {
    $("a[rel^='prettyPhoto']").prettyPhoto();
  }
</script>

 

Grow your businessStart a project with us today.

This site uses essential cookies for parts of the site to operate and have already been set. Find out more about how we use cookies and how you may delete them. You may delete cookies, but parts of the site will not work.