XModPro

CommandLink in Template

Mark Trippier Mark Trippier asked Mar 22, 2017
Active Mar 24 · Viewed 2297 times
<p>Hi, </p> <p>I have tried following the mutiple templates example so that I can display a full size image in a popup modal when the user clicks on a thumbnail image in a template list. </p> <p>I have tried an OnClientClick on the CommandImage, this didnt load anything, then after clicking several times did occasionally. </p> <p>I then tried using jquery to open the modal, this works but on itial open the modal is empty as XMOD hasnt passed the information yet, then on subsequent clicks it opens the modal with the correct image but then immediately shuts the modal. </p> <p>What am I doing wrong?<br> </p> <p>My test code can be found in this fiddle: </p> <p><a href="http://dnndev.com/fiddle/fid/642">http://dnndev.com/fiddle/fid/642</a><br> </p> <p>Many thanks in advance for your advice.<br> </p>

1 Answer

Loading answers...