lightbox is not working in updatepanel + c#
<p>I have 6 thumbnail images as <code>asp:imagebutton</code> instances. These are treated as triggers for <code>asp:updatepanel</code> control on the page which contains an <code>asp:image</code> control. <br><br>
When the user clicks on the thumbnail, the image in the <code>asp:updatepanel</code>'s image control changes to the clicked thumbnail image. <br>
The users are also allowed to again enlarge the image by clicking on the enlarge button (this runs the <code>lightbox</code> function). This works fine.
<br><br>
<b>Question</b><br>
The problem is that the enlargement works when the page loads, however when the user select a thumbnail and then tries. The method (<code>lightbox</code>) does not work.<br>
<br>
I have had similar problems with <code>javascript</code> functions and the <code>asp:updatepanel</code>. Has anyone else faced similar issues? If so, how do I solve this issue?</p>
