S
Shapper
Hello,
I have an Asp:Image inside a datagrid:
<asp:ImageButton runat="server" ImageUrl="img.jpg" CommandName='<%#
DataBinder.Eval(Container.DataItem, "product_id") %>'
OnCommand="Change_Product" Width="50"></asp:ImageButton>
When the image is clicked the function Change_Product runs and uses the
value of product_id.
I want to do something similar but instead of displaying an image that
can be clicked I want to display some text. Is this possible?
I was looking at asp:abel properties but I couldn't find a way to do
this.
Can someone help me?
Thanks,
Miguel
I have an Asp:Image inside a datagrid:
<asp:ImageButton runat="server" ImageUrl="img.jpg" CommandName='<%#
DataBinder.Eval(Container.DataItem, "product_id") %>'
OnCommand="Change_Product" Width="50"></asp:ImageButton>
When the image is clicked the function Change_Product runs and uses the
value of product_id.
I want to do something similar but instead of displaying an image that
can be clicked I want to display some text. Is this possible?
I was looking at asp:abel properties but I couldn't find a way to do
this.
Can someone help me?
Thanks,
Miguel