Binding To An Image Field In The ASCX File

Posted by Community Admin on 04-Aug-2018 15:03

Binding To An Image Field In The ASCX File

All Replies

Posted by Community Admin on 13-Oct-2016 00:00

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.

 

This thread is closed