M
Mike Johnson
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.
<aspanel id="pnlInfo" runat="server" ToolTip='<%#
DataBinder.Eval(container.DataItem, "id", "ID={0}" %>'></aspanel>
I'd like to add more fields in the tooltip but get an error when I try to do
this....
<aspanel id="pnlInfo" runat="server" ToolTip='<%#
DataBinder.Eval(container.DataItem, "id", "ID={0}" %> <%#
DataBinder.Eval(container.DataItem, "enteredby", "Entered by={0}"
%>'></aspanel>
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
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.
<aspanel id="pnlInfo" runat="server" ToolTip='<%#
DataBinder.Eval(container.DataItem, "id", "ID={0}" %>'></aspanel>
I'd like to add more fields in the tooltip but get an error when I try to do
this....
<aspanel id="pnlInfo" runat="server" ToolTip='<%#
DataBinder.Eval(container.DataItem, "id", "ID={0}" %> <%#
DataBinder.Eval(container.DataItem, "enteredby", "Entered by={0}"
%>'></aspanel>
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