Can I add tooltiptext to a select button in a datagrd?

Ask a Question related to ASP.NET Data Grid Control, Design and Development.

  1. #1

    Default Can I add tooltiptext to a select button in a datagrd?

    Can I add tooltiptext to a select button in a datagrid?


    Jim Mitchell Guest

  2. Similar Questions and Discussions

    1. Select button in datagrid
      I have created a datagrid with a select button so that a user can select a particular row. I did this by setting the CommandName="select". And...
    2. DataGrid Select Button Event not fired
      hi all, i am creating datagrid , i have added button column in my datagrid ,but the event for button column is not fired. i have added...
    3. datagrid select button
      not sure whats happening here - i basically cutnpasted the code from a page that this code works on but the select button is just not firing any...
    4. How to select a button in a matrix of push button (Cocoa) ?
      The radion button was created with Interface Builder. How to make a default (selected) button in this matrix ?
    5. Button Select Column
      I put a select button in a datagrid, select a row works fine. Now hold down the shift key and select a second row, get jscript error. Is there...
  3. #2

    Default Re: Can I add tooltiptext to a select button in a datagrd?

    Yes, in ItemDataBound, get a reference to the button & just do it!

    Dim b as Button
    b = CType(e.Item.Cells(0).Controls(1), Button)
    b.ToolTip = "Tooltip created at " & Now.ToString()

    Sample assumes button is in 1st column & is 2nd item in column (as a button
    would be in a tempate column since it gets wrapped in a 'literal' (ie DIV))

    "Jim Mitchell" <jim_mitchell@mindspring.com> wrote in message
    news:upAujwSaDHA.2344@TK2MSFTNGP09.phx.gbl...
    > Can I add tooltiptext to a select button in a datagrid?
    >
    >

    Stevie_mac Guest

  4. #3

    Default Re: Can I add tooltiptext to a select button in a datagrd?

    Check out this article, here i have given tooltip for header. You can use
    the same concept to set the tooltip for select button.
    [url]http://www.extremeexperts.com/Net/CodeSnippets/ToolTipForDataGridHeader.aspx[/url]

    Saravana
    Microsoft India Community Star,MC**
    [url]www.extremeexperts.com[/url]



    "Jim Mitchell" <jim_mitchell@mindspring.com> wrote in message
    news:upAujwSaDHA.2344@TK2MSFTNGP09.phx.gbl...
    > Can I add tooltiptext to a select button in a datagrid?
    >
    >

    Saravana Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139