Click here to Skip to main content
15,929,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAdd menu like winApplication Menu.... Pin
mostafa_h17-Aug-07 17:03
mostafa_h17-Aug-07 17:03 
QuestionSpecifying the master page in the Web.config file Pin
md_refay17-Aug-07 16:47
md_refay17-Aug-07 16:47 
QuestionDocument Comparison Pin
vkponugoti17-Aug-07 16:26
vkponugoti17-Aug-07 16:26 
Questionreport in PDF reports Pin
s.mehrait17-Aug-07 9:03
s.mehrait17-Aug-07 9:03 
AnswerRe: report in PDF reports Pin
Christian Graus17-Aug-07 11:45
protectorChristian Graus17-Aug-07 11:45 
AnswerRe: report in PDF reports Pin
Paul Conrad18-Aug-07 3:34
professionalPaul Conrad18-Aug-07 3:34 
QuestionRedirect To Lan Database Pin
ejaz_pk17-Aug-07 6:42
ejaz_pk17-Aug-07 6:42 
QuestionHow to open a new IE page from code behind on an aspx page? Pin
uberhacker17-Aug-07 6:29
uberhacker17-Aug-07 6:29 
Hi,

I have an aspx file with code behind written in VB .NET. During one of the events a Word Document is to displayed on to a new webpage. I used Response.Write to create a new window but it did not work for me. Please see the code below. I would like to know a way to open a new webpage to display the word document created.

Protected Sub btnPrint_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles btnPrint.Click
ViewState("message") = ""
ViewState("PrintMail") = 1
validateForm(Me)
If Len(ViewState("message")) > 0 Then
Session("errMessage") = "The following fields must be filled in:" + "
" + ViewState("message")
Exit Sub
End If
'Generate Patient 's Discharge Summary
CreateDoc("")
'Open Discharge Summary so user can print as many copies as possible
Session("draft") = 0
Session("print") = 1
Session("docfile") = ViewState("FileName")
Response.Write("open """ + Application("hostserver") + ViewState("FileName") + """,'Draft Discharge Summary','status=no,menubar=no'")
End Sub
AnswerRe: How to open a new IE page from code behind on an aspx page? Pin
Christian Graus17-Aug-07 11:47
protectorChristian Graus17-Aug-07 11:47 
AnswerRe: How to open a new IE page from code behind on an aspx page? Pin
Fred_Smith17-Aug-07 12:28
Fred_Smith17-Aug-07 12:28 
QuestionGetting logged on username Pin
digsy_17-Aug-07 5:53
digsy_17-Aug-07 5:53 
AnswerRe: Getting logged on username Pin
#realJSOP17-Aug-07 6:28
professional#realJSOP17-Aug-07 6:28 
GeneralRe: Getting logged on username Pin
digsy_17-Aug-07 7:10
digsy_17-Aug-07 7:10 
GeneralRe: Getting logged on username Pin
Jon Sagara17-Aug-07 7:46
Jon Sagara17-Aug-07 7:46 
AnswerRe: Getting logged on username Pin
kaushal_prabhakar17-Aug-07 19:38
kaushal_prabhakar17-Aug-07 19:38 
Questionjavascript menu and dropdown list problem in IE Pin
swapnilek17-Aug-07 5:00
swapnilek17-Aug-07 5:00 
AnswerRe: javascript menu and dropdown list problem in IE Pin
Selva198317-Aug-07 5:46
Selva198317-Aug-07 5:46 
GeneralRe: javascript menu and dropdown list problem in IE Pin
swapnilek17-Aug-07 18:50
swapnilek17-Aug-07 18:50 
QuestionMakeTransparent Method on Jpeg images Pin
sabafana17-Aug-07 4:50
sabafana17-Aug-07 4:50 
QuestionIs There Something I Don't Understand? Pin
#realJSOP17-Aug-07 4:34
professional#realJSOP17-Aug-07 4:34 
AnswerRe: Is There Something I Don't Understand? Pin
Talal Sultan17-Aug-07 4:42
Talal Sultan17-Aug-07 4:42 
AnswerRe: Is There Something I Don't Understand? Pin
Christian Graus17-Aug-07 11:48
protectorChristian Graus17-Aug-07 11:48 
GeneralRe: Is There Something I Don't Understand? Pin
DavidNohejl18-Aug-07 8:18
DavidNohejl18-Aug-07 8:18 
GeneralRe: Is There Something I Don't Understand? Pin
Urs Enzler19-Aug-07 1:03
Urs Enzler19-Aug-07 1:03 
QuestionSharing Data between window app and web app Pin
Kaushal_anand2617-Aug-07 4:10
Kaushal_anand2617-Aug-07 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.