|
Hi Eveybody,
I have a asp.net application. I am trying to populate an iFrame scr from the path selected from the filefield. here is the code I am using.
ff_active_document is the name of the Filefield control.
iframe_image is the iframe
*******************************************
Dim fileName As String
fileName = ff_active_document.PostedFile.FileName
Dim frame1 As HtmlControl = CType(Me.FindControl("iframe_image"), HtmlControl)
frame1.Attributes("src") = fileName
*******************************************
Any help would be much appreciated
Thanks,
Mark
|