Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Filefield value to iframe
Old 12-13-2005, 11:16 AM Filefield value to iframe
kalkm's Avatar
Experienced Talker

Posts: 31
Trades: 0
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
kalkm is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Filefield value to iframe
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37398 seconds with 12 queries