Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: Repeat a header for reports...?


Message #1 by "Arbon Reimer" <arbon_reimer@h...> on Thu, 26 Sep 2002 21:26:22
I am making use of a Repeater to good success, only that I would like to 
figure out how to put the header in every 30 or so lines.  I have figured 
out how to count how far down the repeater is getting by looking at the 
onItemDataBound event, but can't figure out what to do next once I get the 
counter where I want it.

If anyone has insight to share I would be very grateful for the help!
Thank you,
Arbon Reimer
Message #2 by "Ray Jezek (TT)" <ray.jezek@t...> on Thu, 26 Sep 2002 15:17:44 -0500
You could include the header in your item template as visible="false"

then when your counter hits 30 in the onItemDataBound change the visible
property for that row to true.

-----Original Message-----
From: Arbon Reimer [mailto:arbon_reimer@h...]
Sent: Thursday, September 26, 2002 4:26 PM
To: ASP+
Subject: [aspx] Repeat a header for reports...?


I am making use of a Repeater to good success, only that I would like to 
figure out how to put the header in every 30 or so lines.  I have figured 
out how to count how far down the repeater is getting by looking at the 
onItemDataBound event, but can't figure out what to do next once I get the 
counter where I want it.

If anyone has insight to share I would be very grateful for the help!
Thank you,
Arbon Reimer
---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---
Message #3 by "Dave Buckner" <Dave@N...> on Fri, 27 Sep 2002 11:48:13 -0500
You could do a .control.add loadcontrol("youheader")

Regards,
Dave

-----Original Message-----
From: Arbon Reimer [mailto:arbon_reimer@h...] 
Sent: Thursday, September 26, 2002 9:26 PM
To: ASP+
Subject: [aspx] Repeat a header for reports...?


I am making use of a Repeater to good success, only that I would like to

figure out how to put the header in every 30 or so lines.  I have
figured 
out how to count how far down the repeater is getting by looking at the 
onItemDataBound event, but can't figure out what to do next once I get
the 
counter where I want it.

If anyone has insight to share I would be very grateful for the help!
Thank you, Arbon Reimer
---

ASP.NET 1.0 Namespace Reference with C#
http://www.wrox.com/acon11.asp?ISBN=1861007442

ASP.NET 1.0 Namespace Reference with VB.NET
http://www.wrox.com/acon11.asp?ISBN=1861007450

These books are a complete reference to the ASP.NET namespaces 
for developers who are already familiar with using ASP.NET. 
There is no trivial introductory material or useless .NET 
hype and the presentation of the namespaces, in an easy-to use 
alphabetical order ensures a user-friendly reference format.
We provide in-depth coverage of all the major ASP.NET classes, 
giving you those real-world tips that the documentation doesn't 
offer, and demonstrating complex techniques with simple 
examples.  

---




  Return to Index