Hi Brendan, many thanks for that suggestions, I am trying for the button function first just to get it to work, but making the alteration as suggested, I am getting the not so helpful error message:
[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected[TempITemplate.Template]: http://server/CMSVirtualFiles/Transformations/=vg=7e0792e5-8ba1-446f-ad40-32482a652cc5/CMS.Root/gallryImageModal01.ascx(3): error CS1002: ; expected
I have modified the button code as::
<!-- Trigger the modal with a button -->
<button type="button" class="btn btn-lg" data-toggle="modal" data-target="#myModal-<% Eval<string>("AttachmentGUID") %>">
</button>
so something is not liked?