Click here to Skip to main content
16,005,178 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: select specific column from datatable Pin
Not Active6-Jul-07 8:03
mentorNot Active6-Jul-07 8:03 
AnswerRe: select specific column from datatable Pin
Not Active6-Jul-07 8:08
mentorNot Active6-Jul-07 8:08 
QuestionHow to add events to exec time rendered controls? Pin
Leistath6-Jul-07 4:00
Leistath6-Jul-07 4:00 
AnswerRe: How to add events to exec time rendered controls? Pin
ToddHileHoffer6-Jul-07 4:45
ToddHileHoffer6-Jul-07 4:45 
GeneralRe: How to add events to exec time rendered controls? Pin
Leistath6-Jul-07 7:17
Leistath6-Jul-07 7:17 
AnswerRe: How to add events to exec time rendered controls? Pin
sathesh pandian6-Jul-07 4:57
sathesh pandian6-Jul-07 4:57 
GeneralRe: How to add events to exec time rendered controls? Pin
Leistath6-Jul-07 7:20
Leistath6-Jul-07 7:20 
Questionadd header after each 15 Records Pin
Bajrang Singh6-Jul-07 3:03
Bajrang Singh6-Jul-07 3:03 
Hi all,
Some time before I was struggling with Page break. now I found the method for page break nad still finding to add columns headers after 15 rows.
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?

protected void GVMaterialMovement_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
count++;
if(count > 15)
{
e.Row.Style.Add("page-break-after", "always");
count = 0;
}
}
}

Is there any similar way to add header after each 15 Records?

Bajrang Singh
Using .net 2.0 (VS2005)

QuestionImage size checking Pin
Icarus1236-Jul-07 2:24
Icarus1236-Jul-07 2:24 
AnswerRe: Image size checking Pin
Tarik Guney6-Jul-07 5:18
Tarik Guney6-Jul-07 5:18 
GeneralRe: Image size checking Pin
Bajrang Singh6-Jul-07 20:51
Bajrang Singh6-Jul-07 20:51 
QuestionMessage box Pin
Archana New to Dotnet6-Jul-07 2:16
Archana New to Dotnet6-Jul-07 2:16 
AnswerRe: Message box Pin
Sathesh Sakthivel6-Jul-07 2:18
Sathesh Sakthivel6-Jul-07 2:18 
AnswerRe: Message box Pin
Sonia Gupta6-Jul-07 2:21
Sonia Gupta6-Jul-07 2:21 
AnswerRe: Message box Pin
kubben6-Jul-07 2:47
kubben6-Jul-07 2:47 
GeneralRe: Message box Pin
Archana New to Dotnet6-Jul-07 4:26
Archana New to Dotnet6-Jul-07 4:26 
GeneralRe: Message box Pin
kubben6-Jul-07 4:34
kubben6-Jul-07 4:34 
Questionweb form closing event. Pin
Sonia Gupta6-Jul-07 2:12
Sonia Gupta6-Jul-07 2:12 
AnswerRe: web form closing event. Pin
kubben6-Jul-07 2:19
kubben6-Jul-07 2:19 
GeneralRe: web form closing event. Pin
Sonia Gupta6-Jul-07 2:26
Sonia Gupta6-Jul-07 2:26 
GeneralRe: web form closing event. Pin
N a v a n e e t h6-Jul-07 2:31
N a v a n e e t h6-Jul-07 2:31 
GeneralRe: web form closing event. Pin
kubben6-Jul-07 2:43
kubben6-Jul-07 2:43 
AnswerRe: web form closing event. Pin
InsDev6-Jul-07 2:26
InsDev6-Jul-07 2:26 
AnswerRe: web form closing event. Pin
Tarik Guney6-Jul-07 5:16
Tarik Guney6-Jul-07 5:16 
AnswerRe: web form closing event. Pin
sathesh pandian19-Jul-07 6:42
sathesh pandian19-Jul-07 6:42 

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.