L
lunchroom
Using VS2008/C#/ASP.NET 3.5
I have a webform that displays a list of document references pulled
from a database in a Gridview. The data records point to a reference
path in the windows file system where the actual PDF exists. The user
can select checkboxes and press a button to have those documents
emailed to someone else entirely from the web page. This is done
iterating through the selected rows and then attaching the docs to a
System.Net.Mail.MailMessage object and sending through SmtpClient.
This works great, except some users would like to be able to select a
document from the list and press a button to "copy" that PDF (not the
contents, but the actual PDF file) to the clipboard. Ideally, they
could reply to an existing message in their Inbox and just "paste" the
PDF file into that message without having to always originate a new
message from my web page.
Any suggestions? I'm afraid it's not going to be possible in
ASP.NET. Can someone please confirm? If so, any reasonable
alternatives? I thought maybe if they were able to click on a button
and open a Windows Explorer window to the folder where the file
resides and then select/highlight the file they're interested in
automatically. That way, they could just click that button and then
hit Ctrl-C to copy the file they want.
Thoughts?
Thanks,
lunchy
I have a webform that displays a list of document references pulled
from a database in a Gridview. The data records point to a reference
path in the windows file system where the actual PDF exists. The user
can select checkboxes and press a button to have those documents
emailed to someone else entirely from the web page. This is done
iterating through the selected rows and then attaching the docs to a
System.Net.Mail.MailMessage object and sending through SmtpClient.
This works great, except some users would like to be able to select a
document from the list and press a button to "copy" that PDF (not the
contents, but the actual PDF file) to the clipboard. Ideally, they
could reply to an existing message in their Inbox and just "paste" the
PDF file into that message without having to always originate a new
message from my web page.
Any suggestions? I'm afraid it's not going to be possible in
ASP.NET. Can someone please confirm? If so, any reasonable
alternatives? I thought maybe if they were able to click on a button
and open a Windows Explorer window to the folder where the file
resides and then select/highlight the file they're interested in
automatically. That way, they could just click that button and then
hit Ctrl-C to copy the file they want.
Thoughts?
Thanks,
lunchy