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

  • Home
  • SEARCH
  • 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 245389
In Process

The Archive Base Latest Questions

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

HI, I’m having a Repeater bound to a ObjectDataSource. I retrieve my data using

  • 0

HI, I’m having a Repeater bound to a ObjectDataSource. I retrieve my data using a Typed DataSet and my TableAdapter do query a subset of data according to a startIndex and pageSize. I’m all set for custom paging and it actually works.

However, I would like to know if it’s possible for my TableAdapter to return a PagedDataSource, to bind my ObjectDataSource to it, all this using custom paging and coding my own pager using the PagedDataSource’s properties.

At the moment, I’m storing a bunch of information in the ViewState such as the CurrentPage, IsFirstPage, IsLastPage, etc… An annoying thing here is that the ObjectDataSource’s SelectCountMethod won’t expose the result which is a must-have to create the pager… Basically I need to make another call to the database just to pick that value.

Inheriting the ObjectDataSource or ObjectDataSourceView just to expose the TotalRowCount is just too complicated, I’ve barely been able to make it work without adding any functionalities.

I’ve read a little about PagedDataSource and it feels like it can’t do much Custom Paging along with a Repeater…

Any ideas?

  • 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-11T21:05:06+00:00Added an answer on May 11, 2026 at 9:05 pm

    you could try a DataList along with a DataPager bound to your ODS. The DataList is similar to a repeater in that you have to explicitly declare the emitted markup, but offers more robust paging capabilities, especially along with the DataPager control. See these set of articles for more information on how to use the controls.

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

Sidebar

Ask A Question

Stats

  • Questions 230k
  • Answers 230k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Try: TO_NUMBER('0,22', '9D99') Unlike a literal comma, the D will… May 13, 2026 at 1:54 am
  • Editorial Team
    Editorial Team added an answer Yes, Safari requires some grotesque hacks for this kind of… May 13, 2026 at 1:54 am
  • Editorial Team
    Editorial Team added an answer The following assumes that dates are externally expressed in 1-origin… May 13, 2026 at 1:54 am

Related Questions

HI, I am new to the scrum methodology and looking for some help to
HI, I have 3 tables: Clips , Books and relationships between ClipBook Problem is:
hI, I'm trying to get this code from Larry Nyhoff's book to compile in
HI, I m doing the folling stuff in the jsp code I need to
Hi*, I am using the .NET Compact framework Remote Performance Monitor from the .net

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.