Help on Mouse over feature/Click event

Discussion in 'ASP .Net' started by Stephen, Dec 20, 2004.

  1. Stephen

    Stephen Guest

    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.
     
    Stephen, Dec 20, 2004
    #1
    1. Advertising

  2. Stephen

    Curt_C [MVP] Guest

    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" <> wrote in message
    news:...
    > 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], Dec 20, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Davisro
    Replies:
    2
    Views:
    1,334
    Jim Corey
    Apr 23, 2004
  2. =?Utf-8?B?am9qb2Jhcg==?=
    Replies:
    1
    Views:
    4,120
    wwwtar
    Oct 2, 2006
  3. tom arnall
    Replies:
    6
    Views:
    1,292
    Ian Shef
    Jan 18, 2007
  4. Kid Kid
    Replies:
    6
    Views:
    496
  5. Daniish
    Replies:
    2
    Views:
    259
    Thomas 'PointedEars' Lahn
    Jun 13, 2008
Loading...

Share This Page