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

.NET (Core and Framework)

 
QuestionVisual Studio 2005 Just-in-Time Debugger Exception ??? Pin
zinc_z4-Nov-06 8:28
zinc_z4-Nov-06 8:28 
AnswerRe: Visual Studio 2005 Just-in-Time Debugger Exception ??? Pin
RaviBattula7-Nov-06 0:23
professionalRaviBattula7-Nov-06 0:23 
QuestionVery Urgent: How Can I make a compelete Instalation file Pin
alhassan013-Nov-06 18:54
alhassan013-Nov-06 18:54 
AnswerRe: Very Urgent: How Can I make a compelete Instalation file Pin
Paul Conrad28-Nov-06 14:57
professionalPaul Conrad28-Nov-06 14:57 
Question2.0 Framework Zip Class Pin
Jason Weibel3-Nov-06 11:44
Jason Weibel3-Nov-06 11:44 
AnswerRe: 2.0 Framework Zip Class Pin
George L. Jackson3-Nov-06 13:57
George L. Jackson3-Nov-06 13:57 
QuestionInvalidCastException: System.__ComObject Pin
fin13-Nov-06 5:17
fin13-Nov-06 5:17 
QuestionHow to print header in each page Pin
Renukapadhamanaban2-Nov-06 15:10
Renukapadhamanaban2-Nov-06 15:10 
Hi all,

I have a data grid to list rows and am printing from IE using javascript window.print(). Its working very fine. But I like to print header in each page of my print. Is it possible?

Also I am using the following script to set up the page break after printing 15 items in a page. It is working all right. Is there any other way to insert page break after certain page margin?

private void dgResults_ItemCreated(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e)
{
if(e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
count++;
if(count > 15)
{
e.Item.Style.Add("page-break-after","always");
count = 0;
}
}
}

Is there any similar way to add header in each page? Or is it possible to add ListItemType.Header in the middle?

Thanks and Regards
Renu





GeneralRe: How to print header in each page Pin
George L. Jackson3-Nov-06 13:41
George L. Jackson3-Nov-06 13:41 
QuestionCrazy debugger Question... Pin
Lior S2-Nov-06 7:15
Lior S2-Nov-06 7:15 
AnswerRe: Crazy debugger Question... Pin
Christian Graus2-Nov-06 13:17
protectorChristian Graus2-Nov-06 13:17 
QuestionWhat's the best way to do string based lookup in .NET? Pin
nicknotyet2-Nov-06 3:40
nicknotyet2-Nov-06 3:40 
AnswerRe: What's the best way to do string based lookup in .NET? Pin
Robert Rohde2-Nov-06 4:33
Robert Rohde2-Nov-06 4:33 
QuestionHow to list all the registered assemblies on a system Pin
kamal k s chauhan2-Nov-06 0:58
kamal k s chauhan2-Nov-06 0:58 
QuestionMultilingual applications using C#.net Pin
abyclassic1-Nov-06 23:03
abyclassic1-Nov-06 23:03 
GeneralRe: Multilingual applications using C#.net Pin
Akhilesh Yadav2-Nov-06 23:52
Akhilesh Yadav2-Nov-06 23:52 
Questionrunning .net app Pin
ramana mohan1-Nov-06 17:09
ramana mohan1-Nov-06 17:09 
AnswerRe: running .net app Pin
PavanPareta1-Nov-06 17:55
PavanPareta1-Nov-06 17:55 
AnswerRe: running .net app Pin
Christian Graus2-Nov-06 13:18
protectorChristian Graus2-Nov-06 13:18 
QuestionDisable desktop short cuts Pin
aseef1-Nov-06 6:05
aseef1-Nov-06 6:05 
AnswerRe: Disable desktop short cuts Pin
Monkeyget26-Nov-06 5:21
Monkeyget26-Nov-06 5:21 
QuestionCannot perform '<=' operation on System.DateTime and System.String Pin
guygo1-Nov-06 2:02
guygo1-Nov-06 2:02 
AnswerRe: Cannot perform '<=' operation on System.DateTime and System.String Pin
Christian Graus2-Nov-06 13:18
protectorChristian Graus2-Nov-06 13:18 
QuestionMemoryStream Remoting problem Pin
sandu200431-Oct-06 22:09
sandu200431-Oct-06 22:09 
QuestionWindows service and message queue Pin
MinaFawzi31-Oct-06 21:59
MinaFawzi31-Oct-06 21:59 

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.