Solved

File Upload Control with refresh on document

Posted on 2006-11-13
11
696 Views
Last Modified: 2013-12-18
I have multiple file upload controls on my form over the web.

when I click into a dialog list with a refresh document on keyword change , it refreshes the form but loses the file upload value selected.

Please help.

0
Comment
Question by:Knowledge-Dimension
  • 5
  • 4
11 Comments
 
LVL 19

Expert Comment

by:madheeswar
ID: 17929072
I think that is the default behaviour.

May be you should use AJAX to fetch data for another field when u do a refresh.

Else pass those Upload control values to a cookie and store it. Once refreshed, you can fetch them.
0
 

Author Comment

by:Knowledge-Dimension
ID: 17929103
I am not familiar with AJAX , please can you explain to me how that works.

I have not worked with cookies either... can a user disable the use of cookies on their machine ?
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 17929212
0
 

Author Comment

by:Knowledge-Dimension
ID: 17937735
Hi Guys.... The R7 mail template has a different method of upload . It writes it to a text field. & on save it uploads it
does anyone know how this is done so I can do the same in my application.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 19

Expert Comment

by:madheeswar
ID: 17938294
You can also do the samething..

When the file is selected using FileUpload control, you can get handle to the upload control by providing id to that.

Just get that path of the file and store it in a text field.


Let us see if someone has other ideas.
0
 

Author Comment

by:Knowledge-Dimension
ID: 17938339
I can do that but how does it upload the file once in the text field ?

Thanks guys.

I really appreciate the help
0
 
LVL 19

Expert Comment

by:madheeswar
ID: 17944847
I think you got it wrong. Just u need to pass the path of the attchment to the Upload control. While saving it takes care of attaching file(s).
0
 

Author Comment

by:Knowledge-Dimension
ID: 17944896
Hi....

I have tried doing that but have had no success. I have been told that you cannot populate the file upload control with a value & this is due to security reasons.

I can get the attachment paths into a text field as done in the mail template , but I have no clue how to save those attachments to the document.

if I try to do it on save , it will probably search the server itself for the files .

Please help me... this is really urgent.

Thanks guys for all your comments & help thus far.
0
 
LVL 19

Accepted Solution

by:
madheeswar earned 500 total points
ID: 17945031
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Mobile Iron iphone stop receiving new mails 6 1,228
Lotes Notes 8.5.3 std can not open calendar 2 99
Code for extraction to mkdir folder 5 50
Counting documents in a Domino View 3 64
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now