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
