mhchew
-
6/22/2006 2:20:08 PM
Compilation error when clicking image
Hi, I have the following error when I clikc the image under the product imagegallery. I went to the product image gallery, it display 4 images in a row, I click one of them and the error occur. Pls help.
Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
CS0118: 'Kentico.CMS.CMSControls.InlineUserControl' denotes a 'class' where a 'variable' was expected
Line 1: <%@ Control %> Line 2: <%# DataBinder.Eval(Container, "DataItem.FileTitle") %><br/> Line 3: <a href="javascript:void(window.open('<%# ResolveUrl("~/getfile.aspx?nodeid=" + Convert.ToString(DataBinder.Eval(Container, "DataItem.NodeID"))) %>'));",'','resizable=yes,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,fullscreen=no,dependent=no,width=320,height=320,left=0,top=0'))"><img class="ImageGalleryDetailImage" src='<%# ResolveUrl("~/getfile.aspx?nodeid=") + Convert.ToString(DataBinder.Eval(Container, "DataItem.NodeID")) + "&maxsidesize=" + CType(Parent.Parent.Parent.Parent, Kentico.CMS.CMSControls.InlineUserControl).Parameter %>' alt='<%# DataBinder.Eval(Container, "DataItem.FileTitle") %>'/></a><br/> Line 4: <%# DataBinder.Eval(Container, "DataItem.FileDescription") %> Line 5: <br>
Source File: C:\Inetpub\wwwroot\KenticoCMS\CMSDESK\Metadata\CMS\ImageGallery\Transformations\Detail.ascx Line: 3
thanks rgds
|