|
Subject:
|
Please Help Print a column from a row from a datag
|
|
Posted By:
|
macupryk
|
Post Date:
|
10/31/2004 5:22:20 PM
|
I need to modify the below code to take the string parsedreceipt and print it to a printer. I am not sure how to build this javascript.
if(e.CommandName =="Print") { string parsedreceipt = null; parsedreceipt = DecodeReceipt (e.Item.Cells[3].Text); Response.Write("<script language=\"JavaScript\">"); Response.Write("parent.framename.print(parsedreceipt)"); Response.Write("</script>"); }
Knowledge is to be shared.
|
|
Reply By:
|
Jonax
|
Reply Date:
|
10/31/2004 5:52:33 PM
|
quote: Response.Write("parent.framename.print(parsedreceipt)");
What is the name of your frame? (ie.: Replace "framename")
|