Returning a tooltip function for datagrid cell. Is it possible

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following column and so far im able to bind the column to
CompanyName and only return the first 50 characters. The second function i'd
like to retun a tooltip for that datagrid cell but i'm not sure if this is
possible and if so I don't know how to right a function to return a tooltip.
Can someone please help me with this.

<asp:TemplateColumn Visible="True" HeaderText="Start Date">
<ItemTemplate>
<span
title="<%#getCompanyName(DataBinder.Eval(Container.DataItem,"CompanyName").ToString())%>"><%#partial_text_tooltip%></span>
</ItemTemplate>
</asp:TemplateColumn>
 
Back
Top