Binding To An Image Field In The ASCX File - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Binding To An Image Field In The ASCX File

  • Binding To An Image Field In The ASCX File
  • Hello, in my module I have a picture field called EmployeePicture.

    I created a custom widget that I'm trying to bind to that model with , I'm doing something like this:

    <img src="<%# DataBinder.Eval(Container.DataItem, "EmployeePicture") %>" />

    That however doesn't return back the URL of the picture.  How would I do something like this?

    Thanks.