473,757 Members | 10,736 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET Let repeater display "AlternatingIte mTemplate" only every 15 times

Hi!

Is it possible to let the repeater control show the
AlternatingItem Template only every 15 (or any arbitratry number)
times?

I need to display something like this:

[TABLE]
[HEADER]
[ROW 1]
[ROW 2]
[...]
[ROW 4]
[ROW 15]
[HEADER (again)]
[ROW 16]
[ROW 17]
[..]
[/TABLE]

As you can see I want to display a rather large table (it COULD get
large), and I want assure that the people who read it won't have to
scroll up again if they forget the meanings of the columns.

Is it possible to have a repeater in a repeater?? Maybe it would work
THAT way...
Any suggestions?
Nov 17 '05 #1
0 1060

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1464
by: Gastin | last post by:
I am digesting a web serivce from Amazon.Com. I have the following class which was autogenerated by VS.NET when I created a Web Reference to http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl AmazonWebService.com.amazon.webservices.Item As you can see from the code snippets below it has public member variables rather than public Properties. When I use <%# DataBinder.Eval(Container.DataItem, "ASIN") %> syntax in...
2
2315
by: Gastin | last post by:
I am consuming a web serivce from Amazon.Com. I have the following class which was autogenerated by VS.NET when I created a Web Reference to http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl AmazonWebService.com.amazon.webservices.Item As you can see from the code snippets below it has public member variables rather than public Properties. When I use <%# DataBinder.Eval(Container.DataItem, "ASIN") %> syntax in...
2
1509
by: Alan Silver | last post by:
Hello, I am just trying out reading an XML file in an ASP.NET page, but am having a little trouble. I'm sure this is something really obvious and dumb, but I can't see what ... I have an XML file that contains some site map info (see further down), and I have written a page to read this in and display the contents. I put it into a datagrid and also use a repeater (the former was a quick way of seeing what happened, the latter was in...
11
3723
by: Steve Franks | last post by:
I see several reference to using the ASP.NET 2.0 Cache object in C# where the documentation just shows snippets like this: if (Cache == null) ... do something However when I use this code in a C# class that is called from an ASP.NET page, the compiler gives this error: 'Cache' is a tpe and cannot be used as an expression Furthermore when I type in Cache and press the "." for intellisense, the
7
2079
by: Doug Parker | last post by:
I'm trying to use the repeater control to create a column-like row of data, I've searched the net and it doesn't appear to be that easy. Use this page for reference: http://www.westmarkadvisors.com/photo_gallery.php (i'm converting this to .net) I'm using the repeater to list all of the thumnails below, but i don't know how to insert a </tr><tr> break in the code. AlternatingItemTemplate seems to affect every other row, and as you can
0
3842
by: shamirza | last post by:
· What is view state and use of it? The current property settings of an ASP.NET page and those of any ASP.NET server controls contained within the page. ASP.NET can detect when a form is requested for the first time versus when the form is posted (sent to the server), which allows you to program accordingly. · What are user controls and custom controls? Custom controls: A control authored by a user or a third-party software vendor that...
5
4080
by: Mr Not So Know It All | last post by:
i was able to add the table via the codebehind to the repeater (itemtemplate). the key was to add it to the container. however, now, the data is repeating itself in each row. can someone help me understand how the repeater works? thx in advance. <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>MyTable</title> </head> <body>
1
2296
by: Mick Walker | last post by:
Hi everyone, I hope you all had a great weekend. I have a problem, and I am really not sur eon how I should address it; I have a repeater control, which is bound to a SqlDataSource, however within the repeater control are a number of ImageButtons, and basically if the Data Item is empty of NULL then I wish the image on the button to be "cross.gif" otherwise I would like it to be "tick.gif". As I said before I really have never came...
1
8059
by: semomaniz | last post by:
I have a button inside a repeater which is supposed to open a popup when clicked. But when i click on the button my modalpopup does not open. The strange thing is on the code provided below if i replace the button with linkbutton every thing works fine and I have my popup dispalying. Is there a reason for the buttons to not function inside the repeater? <asp:Repeater ID="myrep" runat="server" OnItemCommand="myrep_ItemCommand">...
0
9489
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9906
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6562
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5172
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5329
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3829
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2698
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.