Tooltip on Hyperlink column?

Discussion in 'ASP .Net Datagrid Control' started by Michael Reinhart, Nov 15, 2004.

  1. I've got a hyperlink column in a datagrid that looks like this:

    <asp:HyperLinkColumn Text="&lt;img src=images/magglass.gif border=0&gt;"
    Target="_top" DataNavigateUrlField="SubjectName"
    DataNavigateUrlFormatString="ViewCase.aspx?SubjectName={0}"></asp:HyperLinkColumn>

    Is there a way that I can have it display a tooltip when the user hovers the
    mouse over it?

    Thanks,
    Michael
     
    Michael Reinhart, Nov 15, 2004
    #1
    1. Advertising

  2. Michael Reinhart

    Jos Guest

    Michael Reinhart wrote:
    > I've got a hyperlink column in a datagrid that looks like this:
    >
    > <asp:HyperLinkColumn Text="&lt;img src=images/magglass.gif
    > border=0&gt;" Target="_top" DataNavigateUrlField="SubjectName"
    >

    DataNavigateUrlFormatString="ViewCase.aspx?SubjectName={0}"></asp:HyperLinkC
    olumn>
    >
    > Is there a way that I can have it display a tooltip when the user
    > hovers the mouse over it?
    >
    > Thanks,
    > Michael


    I suggest converting the HyperLinkColumn to a TemplateColumn.
    Visual Studio and Web Matrix can do this for you.
    Then, you can add a tooltip to the HyperLink in the template.

    --

    Jos
     
    Jos, Nov 15, 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. =?Utf-8?B?V2FyYW4=?=

    HyperLink Column and Button Column in a DataGrid

    =?Utf-8?B?V2FyYW4=?=, Aug 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    604
    =?Utf-8?B?V2FyYW4=?=
    Aug 9, 2005
  2. =?Utf-8?B?ZGF2aWQ=?=
    Replies:
    11
    Views:
    1,010
    deandany
    Jul 17, 2006
  3. davetichenor
    Replies:
    1
    Views:
    832
    Eliyahu Goldin
    Oct 30, 2006
  4. Radu
    Replies:
    1
    Views:
    547
    Bruce Barker
    Jan 8, 2007
  5. Dave
    Replies:
    0
    Views:
    946
Loading...

Share This Page