Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) 25 Source File: D:\CompuSwift\App_Code\PrintHelper.vb Line: 39 Line 40: Dim strHTML As String = stringWrite.ToString() Please review the stack trace for more information about the error and where it originated in the code.Įxception Details: : A page can have only one server-side Form tag. I need a solution rather urgentlyĪ page can have only one server-side Form tag.ĭescription: An unhandled exception occurred during the execution of the current web request. Not sure I have all the steps correct, would appreciate it if someone could be of assistance with this problem. I have tried to print straight from the button click event. I get the following error, do not know what I am doing wrong. Win.focus() // This will give focus to your newlyįollowing function can be written on the new window "Print.aspx" Page Load Event, so as if you wnat the Print Dialog Box also to be Pop Up:. Win = window.open(sUrl,"Print", sFeatures) Var sFeatures = "height=680,width=700,left=" xLeft ",top=" yTop ",status=no,toolbar=no,menubar=no, location=no" //This will give all these features to your Var sUrl = "PrintPage.aspx" //New Window Name. Var yTop = 0 //This will put your new window on Var xLeft = 150 //Will keep x position from Left. Hope this also can be useful for the readers. I would like to add 1 more script in this article, which i have used, as per the req. This overall article is very interesting and worth reading.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |