Click here to Skip to main content
15,919,423 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: ASP.NET Pin
Fred_Smith3-Jul-07 3:32
Fred_Smith3-Jul-07 3:32 
GeneralRe: ASP.NET Pin
Tamimi - Code3-Jul-07 3:40
Tamimi - Code3-Jul-07 3:40 
GeneralRe: ASP.NET Pin
Sathesh Sakthivel3-Jul-07 4:10
Sathesh Sakthivel3-Jul-07 4:10 
GeneralRe: ASP.NET Pin
Christian Graus3-Jul-07 10:57
protectorChristian Graus3-Jul-07 10:57 
AnswerRe: ASP.NET Pin
dekart_roo3-Jul-07 5:34
dekart_roo3-Jul-07 5:34 
AnswerRe: ASP.NET Pin
Dario Solera3-Jul-07 7:21
Dario Solera3-Jul-07 7:21 
AnswerRe: ASP.NET Pin
Pete O'Hanlon3-Jul-07 9:53
mvePete O'Hanlon3-Jul-07 9:53 
QuestionGridView printing problems Pin
Bajrang Singh3-Jul-07 2:32
Bajrang Singh3-Jul-07 2:32 
Hi All, I am facing GridView printing problems those are:
1. How can I get Formatted Contents of a grid using JAVASCRIPT.
function CallPrint(strid)
{
var prtContent = document.getElementById(strid);

var strOldOne=prtContent.innerHTML;
var WinPrint = window.open('','','letf=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status=0');
WinPrint.document.write(prtContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
WinPrint.close();
prtContent.innerHTML=strOldOne;
}

Rightnow it displays all rows of gridview in one row
I tried outerHTML but this displays same GridView as it is in ASPX page. I want text format only with some formating so It can be readable and can be printed.
2. How can I print all rows of multiple page GridView, currently It is printing only the current page of GridView.
Many Thanks

Bajrang Singh
Using .net 2.0 (VS2005)

AnswerRe: GridView printing problems Pin
ToddHileHoffer3-Jul-07 3:08
ToddHileHoffer3-Jul-07 3:08 
GeneralRe: GridView printing problems Pin
Bajrang Singh3-Jul-07 3:32
Bajrang Singh3-Jul-07 3:32 
GeneralRe: GridView printing problems Pin
ToddHileHoffer3-Jul-07 7:18
ToddHileHoffer3-Jul-07 7:18 
GeneralRe: GridView printing problems [modified] Pin
Bajrang Singh3-Jul-07 21:42
Bajrang Singh3-Jul-07 21:42 
QuestionList of Languages: Pin
Shahzad.Aslam3-Jul-07 2:27
Shahzad.Aslam3-Jul-07 2:27 
AnswerRe: List of Languages: Pin
Sathesh Sakthivel3-Jul-07 2:31
Sathesh Sakthivel3-Jul-07 2:31 
QuestionWhy aren`t the mails going? Pin
www.Developerof.NET3-Jul-07 2:21
www.Developerof.NET3-Jul-07 2:21 
AnswerRe: Why aren`t the mails going? Pin
Craster3-Jul-07 2:37
Craster3-Jul-07 2:37 
AnswerRe: Why aren`t the mails going? Pin
Viral Upadhyay3-Jul-07 2:44
Viral Upadhyay3-Jul-07 2:44 
GeneralRe: Why aren`t the mails going? Pin
www.Developerof.NET3-Jul-07 4:50
www.Developerof.NET3-Jul-07 4:50 
GeneralRe: Why aren`t the mails going? Pin
Viral Upadhyay3-Jul-07 6:50
Viral Upadhyay3-Jul-07 6:50 
QuestionMicrosoft Word in ASP.Net Pin
Vineed3-Jul-07 2:13
Vineed3-Jul-07 2:13 
AnswerRe: Microsoft Word in ASP.Net Pin
Sathesh Sakthivel3-Jul-07 2:24
Sathesh Sakthivel3-Jul-07 2:24 
GeneralRe: Microsoft Word in ASP.Net Pin
Vineed4-Jul-07 18:40
Vineed4-Jul-07 18:40 
QuestionPrinting a table from database Pin
Mahdi 821610213-Jul-07 1:43
Mahdi 821610213-Jul-07 1:43 
AnswerRe: Printing a table from database Pin
ToddHileHoffer3-Jul-07 2:11
ToddHileHoffer3-Jul-07 2:11 
GeneralRe: Printing a table from database Pin
Mahdi 821610213-Jul-07 6:32
Mahdi 821610213-Jul-07 6:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.