Data binding issue

<asp:HyperLinkField Text=“Print Pres” DataNavigateUrlFields=“PatientID” DataNavigateUrlFormatString=“~/Patient/Report/DrugPrescription.aspx?PatientID={0}”
Visible=‘<%#Eval(“IsDrugPrescribed”) %>’>

give build time error
Databinding expressions are only supported on objects that have a DataBinding event. System.Web.UI.WebControls.HyperLinkField does not have a DataBinding event.

Please sort it out

I’ll assume English is not your first language - your last sentence would be deemed offensive otherwise. :wink:

Wrong forum - that is ASP.NET code, not Classic ASP. :slight_smile:


thread moved - Mittineague