R
R.A.M.
Hello,
Could you help me please with a problem concerning handling at server
asp:Images?
I have
<asp:Image ID="DotNETImage"
ImageUrl="Images/DotNET_360x280.jpeg"
AlternateText="Microsoft .NET version 2.0"
Width="360" Height="280" runat="server" />
which I want to have handled at server when clicked. I thought I can
write:
DotNETImage.Click += new EventHandler(DotNETImage_Click);
...
private void DotNETImage_Click(object sender, EventArgs e)
{
...
}
but I got:
'System.Web.UI.WebControls.Image' does not contain a
definition for 'Click'.
Could you tell me please how to programme it?
Thank you very much!
/RAM
Could you help me please with a problem concerning handling at server
asp:Images?
I have
<asp:Image ID="DotNETImage"
ImageUrl="Images/DotNET_360x280.jpeg"
AlternateText="Microsoft .NET version 2.0"
Width="360" Height="280" runat="server" />
which I want to have handled at server when clicked. I thought I can
write:
DotNETImage.Click += new EventHandler(DotNETImage_Click);
...
private void DotNETImage_Click(object sender, EventArgs e)
{
...
}
but I got:
'System.Web.UI.WebControls.Image' does not contain a
definition for 'Click'.
Could you tell me please how to programme it?
Thank you very much!
/RAM