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

DataBinder.Eval(container.DataItem, "id", "ID={0}" %>'></asp

I'd like to add more fields in the tooltip but get an error when I try to do
this....
<asp

DataBinder.Eval(container.DataItem, "id", "ID={0}" %> <%#
DataBinder.Eval(container.DataItem, "enteredby", "Entered by={0}"
%>'></asp

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