Click here to Skip to main content
15,921,212 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Questionthread pool Pin
Tauseef A8-Nov-06 22:06
Tauseef A8-Nov-06 22:06 
Questionhow to write program for Automatic log off Pin
Pavan Josh8-Nov-06 19:44
Pavan Josh8-Nov-06 19:44 
AnswerRe: how to write program for Automatic log off Pin
Jun Du9-Nov-06 7:59
Jun Du9-Nov-06 7:59 
AnswerRe: how to write program for Automatic log off Pin
Vasudevan Deepak Kumar10-Nov-06 21:18
Vasudevan Deepak Kumar10-Nov-06 21:18 
Questionabout Dynamic Menu Pin
prameelapydi8-Nov-06 19:08
prameelapydi8-Nov-06 19:08 
AnswerRe: about Dynamic Menu Pin
Christian Graus8-Nov-06 22:58
protectorChristian Graus8-Nov-06 22:58 
AnswerRe: about Dynamic Menu Pin
Vasudevan Deepak Kumar10-Nov-06 21:19
Vasudevan Deepak Kumar10-Nov-06 21:19 
QuestionHeader is printing in every page but top border is missing from second page Pin
Renukapadhamanaban8-Nov-06 17:40
Renukapadhamanaban8-Nov-06 17:40 
Hi all,

I was looking for the solution to add header in each page of print when trying to print the data grid, and I found the following code from a forum:

function print_header()
{  
   var table = document.getElementById("dgResults"); // the id of your DataGrid
 
   var str = table.outerHTML;   
   str = str.replace(//i, "");
   str = str.replace(/<tr");
=""   ="" str="str.replace(/<\/tr">/i, "");
table.outerHTML = str;
 }

It is working very fine except not printing the Top border of header after first page. The second, third and consequent pages printing header without top border.

Can anyone help me to find out whats wrong and how to fix?

Thanks a lot.

Regards
Renu
AnswerRe: Header is printing in every page but top border is missing from second page Pin
indianet9-Nov-06 9:42
indianet9-Nov-06 9:42 
GeneralRe: Header is printing in every page but top border is missing from second page Pin
Renukapadhamanaban9-Nov-06 12:55
Renukapadhamanaban9-Nov-06 12:55 
AnswerRe: Header is printing in every page but top border is missing from second page Pin
Vasudevan Deepak Kumar10-Nov-06 21:20
Vasudevan Deepak Kumar10-Nov-06 21:20 
QuestionN-Tier .NET application :confused: Pin
firstmaster8-Nov-06 16:14
firstmaster8-Nov-06 16:14 
AnswerRe: N-Tier .NET application :confused: Pin
Christian Graus8-Nov-06 22:55
protectorChristian Graus8-Nov-06 22:55 
GeneralRe: N-Tier .NET application Pin
firstmaster8-Nov-06 23:30
firstmaster8-Nov-06 23:30 
QuestionHow to designate decimal points to be displayed when using Convert.ToString Pin
nicknotyet8-Nov-06 8:56
nicknotyet8-Nov-06 8:56 
AnswerRe: How to designate decimal points to be displayed when using Convert.ToString Pin
PIEBALDconsult8-Nov-06 10:21
mvePIEBALDconsult8-Nov-06 10:21 
QuestionOnline Query Builder Pin
Manish Chowdhary8-Nov-06 1:26
Manish Chowdhary8-Nov-06 1:26 
QuestionHow to convert digit to word in Visual Studio 2005 beta 2.0 [modified] Pin
Parameswar Mal7-Nov-06 21:29
Parameswar Mal7-Nov-06 21:29 
AnswerRe: How to convert digit to word in Visual Studio 2005 beta 2.0 Pin
George L. Jackson8-Nov-06 12:57
George L. Jackson8-Nov-06 12:57 
Questionwhere i can collect all of window class name kinds? Pin
khuong.ngo7-Nov-06 17:28
khuong.ngo7-Nov-06 17:28 
Question.Net Drawing2D Layers like Photoshop and Gimp Pin
RobinLetMeLogin7-Nov-06 12:47
RobinLetMeLogin7-Nov-06 12:47 
AnswerRe: .Net Drawing2D Layers like Photoshop and Gimp Pin
[Marc]8-Nov-06 8:29
[Marc]8-Nov-06 8:29 
QuestionReconnecting quickly to an MSMQ server [modified] Pin
KL (C# enthusiast)7-Nov-06 11:33
KL (C# enthusiast)7-Nov-06 11:33 
Questionhow to make many vision installation software --- compress Pin
zyjl7-Nov-06 6:37
zyjl7-Nov-06 6:37 
QuestionAvailable Memory and Free Disk Space in CF 1.0 [modified] Pin
Marco [Stinger]7-Nov-06 5:27
Marco [Stinger]7-Nov-06 5:27 

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.