Menu

Want to work with us? We're on the lookout for a UX/UI Designer and Digital Project Manager.

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.