Can you get a mouse over to work in a datagrid cell

  • Thread starter Thread starter Craig G
  • Start date Start date
C

Craig G

reason i ask is

i have a column (Notes) which can have upto 500 characters in it. so its too
big to display the whole field in the grid. so what i have done is placed a
button in the template column which when clicked displays the full content
of the field in a label below the grid. but what i would like is if the user
moused over the button then it would show say the first 100char of the field
in a tooltiptext sort of display

is this possible?

Cheers,
Craig
 
Craig,

In ItemDataBound event get the first 100 characters of the field value and
assign them to the cell's ToolTip property.

Eliyahu
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top