us1975mc
asked on
ASP.net Details View visability property
I have this code in a Details view on my page.
<asp:BoundField DataField="txt_BUS_EMAIL" HeaderText="txt_BUS_EMAIL" SortExpression="txt_BUS_EM AIL" Visible='<%# Eval("txt_BUS_EMAIL").ToSt ring().Equ als() %>' />
When I go to run it, I get his error:
Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls. BoundField does not have a DataBinding event.
Please advise if any of you have encountered this before!
Thank you in advance!
<asp:BoundField DataField="txt_BUS_EMAIL" HeaderText="txt_BUS_EMAIL"
When I go to run it, I get his error:
Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls.
Please advise if any of you have encountered this before!
Thank you in advance!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER