Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 172545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:11:06+00:00 2026-05-11T13:11:06+00:00

I have a list of data that I need to display in a web

  • 0

I have a list of data that I need to display in a web page 3 at a time

The first needs to be displayed in a div called ‘left’ , the second in a div called ‘centre’ and the third in a div called ‘right’.

And I need to be able to scroll through the data with a pager. And so the next 3 results will be displayed in a similar way, and so on till the end of the data set

Obviously the alternating templates in the repeater are not suitable for this.

Is there a smarter way to achieve this?

  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:11:07+00:00Added an answer on May 11, 2026 at 1:11 pm

    Try a loop like this

    for (int i = 3; i < enumerable.length + 3; i++) {

      if (i % 3 == 0)   {       // Put it in div 1   {   else if (i % 3 == 1)   {      // put it in div 2   {   else if (i % 3 == 2)   {      // put it in div 3   { 

    }

    The first time through, it will use div1, the second time div2, and the third time div3, and then the fourth time div1, and so on…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a long list of data that I want to display in table
I have a web app which displays a list of emails that need to
i'm currently working a list of data that i need to display in a
We have a custom list that has a column called Connection Date and need
I have some hierarchical data that I need display as a table, can I
I have a list of data that is a schedule. Each item has a
I have a list of data in javascript that looks like this: [[152, 48,
I have a list of data points (0.2, 0.8, 0.95) that I want to
I have a generic linked-list that holds data of type void* I am trying
I have a list of object that is the data source. Something like that:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.