|
-
Nov 18th, 2002, 10:51 AM
#1
Thread Starter
Frenzied Member
clicking twice for dialog box [RESOLVED]
I'm using this code on the click event to open a print dialog box..
The problem I'm having is, you have to click the button twice before the dialog box will show....Any suggestions?
Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click
btnPrint.Attributes.Add("onclick", "javaScript:window.print()")
End Sub
Last edited by EyeTalion; Nov 18th, 2002 at 11:28 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|