I am trying to create a panel control with a tooltip that contains dynamic
information in it. So, when the user hovers over the panel, it shows them
some information on the record. I can get it to work fine with 1 database
field with this statement.
<asp:Panel id="pnlInfo" runat="server" ToolTip='<%#
DataBinder.Eval(container.DataItem, "id", "ID={0}" %>'></asp:Panel>
I'd like to add more fields in the tooltip but get an error when I try to do
this....
<asp:Panel id="pnlInfo" runat="server" ToolTip='<%#
DataBinder.Eval(container.DataItem, "id", "ID={0}" %> <%#
DataBinder.Eval(container.DataItem, "enteredby", "Entered by={0}"
%>'></asp:Panel>
Error I get is Overload resolution failed because no accessible 'ToString'
accepts this number of arguments.
Is this the correct way to do this?
Thanks