SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2008
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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
    http://www.fla-shop.com - Interactive maps for websites
    Flash Maps for web developers

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,631
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'll assume English is not your first language - your last sentence would be deemed offensive otherwise.

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

    Edit:

    thread moved - Mittineague
    Last edited by Mittineague; Jul 7, 2011 at 20:20.
    Ian Anderson
    www.siteguru.co.uk


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •