Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 31st, 2004, 06:22 PM
Authorized User
 
Join Date: Aug 2004
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to macupryk Send a message via Yahoo to macupryk
Default Please Help Print a column from a row from a datag

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(parsedrecei pt)");
Response.Write("</script>");

}

Knowledge is to be shared.
__________________
Knowledge is to be shared.
 
Old October 31st, 2004, 06:52 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

Quote:
quote:Response.Write("parent.framename.print(parse dreceipt)");
What is the name of your frame? (ie.: Replace "framename")






Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Adding a new row to an existing datag cesemj ASP.NET 2.0 Basics 5 December 6th, 2007 02:37 AM
Column to Row [email protected] Excel VBA 2 March 23rd, 2007 04:16 AM
Column to Row [email protected] SQL Server DTS 0 March 1st, 2007 10:57 AM
Print the row of datagrid with checkbox with check niks_crasher VS.NET 2002/2003 0 September 2nd, 2006 03:45 AM
Read a column and Search Row by Row in another col AyatKh Excel VBA 2 January 26th, 2005 12:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.