I have a datalist like this:
<asp:DataList ID="dl" runat="server" Width="301px" onitemcommand="dl_ItemCommand">
<ItemTemplate>
<table style="border:solid 1 #CCCCCC" >
<tr align="left">
<td align="left">
<img id="imgPhoto" runat="server"
alt="Company Logo"
border="0"
align="middle"
style="border:solid 5px #CCCCCC;height:10px"src='<%#GetImage(Eval("ImageName")) %>'
/>
<asp:HiddenField id="hdnImg" runat="server" Value='<%#Eval("ImageName") %>'/>
</td>
</tr>
<tr align="center">
<td align="center">
<asp:LinkButton ID="lnkChangeLogo" runat="server" Text="ChangeLogo" OnClientClick="javascript:showLayerUpLoad();return false;"> </asp:LinkButton>
<br />
<asp:LinkButton ID="lnkRemoveLogo" runat="server" Text="RemoveLogo" OnClientClick="javascript:ConfirmChoice();return false;"/>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
I want to pass src of imagePhoto to function showLayerUpLoad().How can i do that.Can i do this in ItemCreated event.Can anybody help?showLayerUpLoad() is fn in javascript to show popup.