Connecting Tech Pros Worldwide Forums | Help | Site Map

Help on Mouse over feature/Click event

Stephen
Guest
 
Posts: n/a
#1: Nov 19 '05
Hi,

I have a datagrid with a column which displays image after unstreaming data
from the database. I want to have a mouse over feature or a click feature
that will redirect to another page and display the details of this image and
other features. How can I do this?

this is a part of the HTML Code:
<asp:TemplateColumn HeaderText="Image">
<ItemTemplate>
<asp:Image ImageUrl='<%#
FormatURL(DataBinder.Eval(Container.DataItem, "InventoryID")) %>'
Runat=server ID="Image1"/>
</ItemTemplate>
</asp:TemplateColumn>

Please advice,
Stephen.


Curt_C [MVP]
Guest
 
Posts: n/a
#2: Nov 19 '05

re: Help on Mouse over feature/Click event


Give it a CssClass and do it in there, that's all clientside eventing, not
serverside and therefore not really asp.net

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Stephen" <stephenjobs@hotmail.com> wrote in message
news:eAXXF2r5EHA.2608@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> I have a datagrid with a column which displays image after unstreaming
> data
> from the database. I want to have a mouse over feature or a click feature
> that will redirect to another page and display the details of this image
> and
> other features. How can I do this?
>
> this is a part of the HTML Code:
> <asp:TemplateColumn HeaderText="Image">
> <ItemTemplate>
> <asp:Image ImageUrl='<%#
> FormatURL(DataBinder.Eval(Container.DataItem, "InventoryID")) %>'
> Runat=server ID="Image1"/>
> </ItemTemplate>
> </asp:TemplateColumn>
>
> Please advice,
> Stephen.
>
>[/color]


Closed Thread