Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
vk18
Posting Yak Master
146 Posts |
Posted - 2007-12-27 : 16:50:39
|
Hello Friends,I have a code that user clicks on a command button it opens up a pdf file. I want to attach this file as a default out look client.Is it possible.? Please advise. here is my pop up code. Thanks Dim popupScript As String popupScript = "<script language='javascript'>" & _ "window.open('draft.aspx?id=" & Me.num.Text & ", 'CustomPopUp', " & _ "'status=yes,scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,width=790,height=500')" & _ "</script>" Page.RegisterStartupScript("PopupScript", popupScript) |
|
vk18
Posting Yak Master
146 Posts |
Posted - 2008-01-09 : 14:46:57
|
quote: Originally posted by vk18 Hello Friends,I have a code that user clicks on a command button it opens up a pdf file. I want to attach this file as a default out look client.Is it possible.? Please advise. here is my pop up code. Thanks Dim popupScript As String popupScript = "<script language='javascript'>" & _ "window.open('draft.aspx?id=" & Me.num.Text & ", 'CustomPopUp', " & _ "'status=yes,scrollbars=yes,toolbar=yes,menubar=yes,resizable=yes,width=790,height=500')" & _ "</script>" Page.RegisterStartupScript("PopupScript", popupScript)
I am using a Web Application Using VB.NET/ASP.NET..? Can you guys shed some light on this?Thanks |
|
|
graz
Chief SQLTeam Crack Dealer
4149 Posts |
Posted - 2008-01-09 : 15:03:08
|
Can you just include a link to the PDF file in the email? You can use the target to force it to open in a new window. I don't think you can put Java in an email.=================================================Creating tomorrow's legacy systems today. One crisis at a time. |
|
|
|
|
|
|
|