View Single Post
  #6 (permalink)  
Old January 25th, 2005, 05:42 PM
bhaskar_412 bhaskar_412 is offline
Authorized User
Join Date: Jan 2005
Location: Kolkata, West Bengal, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

just Try the following:

<img src="../images/delete.GIF" border="0" runat="server" onClick="Delete_Click(<%# Container.DataItem( "env_id" ) %>)">

Actually to fire any server side event or any server side method your control must include ' runat="server" '.

Hope It Helps !!
Bhaskar Ghosh