Posted on: 8/19/2014 5:20:18 PM | Views : 403

Hello, im trying to bind a video to my repeater if it exist in the database. ( the database contains the name of the video).
here is the code i tried to use in the repeater. but it just makes and http error inside the video frame.
<%# (DataBinder.Eval(Container.DataItem, "VideoID", "~/QuestionContent/Video/{0}") != null) ? "<iframe id='Video' width='240' height='200' src='" + DataBinder.Eval(Container.DataItem, "VideoID", "~/QuestionContent/Video/{0}") + "' allowfullscreen></iframe>" : "" %> Hope someone can help me, really want to find a solution for this.

Go to the complete details ...