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 4006448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:30:58+00:00 2026-05-20T08:30:58+00:00

I have a ListView control in Asp.Net WebForms which display a set of elements,

  • 0

I have a ListView control in Asp.Net WebForms which display a set of elements, I have at the end a “More” button like Facebook for example. During the postback I want to get from database another 10 elements (I have already displayed 10 and I don’t want to retrieve them again)

Something like this.

 foreach (var item in New10Items)
     ListView.Items.Add(index,DataItem)

the problem is with DataItem, how to Bind it before add it? what is the best way of solving this?

I don’t want to store first 10 items on session or retrieve them from database again because is Really!!! bad for performance and memory, they are no so simple.

if you don’t understand please ask, I really need a way to solve this as clean as possible.

  • 1 1 Answer
  • 0 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. Editorial Team
    Editorial Team
    2026-05-20T08:30:58+00:00Added an answer on May 20, 2026 at 8:30 am

    Facebook though makes a REST service call and appends them using JavaScript. I’d recommend that if you could call a web service and append additional items to the HTML generated from the ListView, that would be a very efficient way. Otherwise, you’re going to have to postback and rebind data or store it in session for the original data. That’s how the control was designed to work.

    HTH.

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

Sidebar

Related Questions

When using an ASP.NET WebForms ListView control to display data in an HTML table
I have an ASP.NET 2.0 ListView control (aka:parent) and configured inside this ListView I
I have an asp:ListView control on an ASP.NET page. It is bound to an
I'm just beinning basic data driven ASP.NET webforms design. I have the first part
I have a ListView control which is exhibiting an odd behaviour - rows are
I have a Jquery dialog with an ASP listview control inside. Before showing the
I have a listview which I would like to fill with self created user
I have a DataPager control that looks like this: <asp:DataPager ID=page1 PagedControlID=ExperienceList runat=server PageSize=3
I have a button on a listview control. I have bound this control to
I have a ListView control, and I'm trying to figure out the easiest/best way

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.