473,807 Members | 2,886 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Objectdatasourc e Paging Control

I love the objectdatasourc e conrtol but I'm having trouble using the paging
controls. I'm trying to create a user control to which I can bind a
objectdatasourc e control. I've been successful at binding to a repeater and
I would like to add paging. I understand adding all the methods for
pagination to the objectdatasourc e but I can't figure out how to use that
information to build my pagination controls. I know gridview uses this
information, but how can I? The objectdatasourc e is bound to a repeater but
how can I get the data from the SelectCountMeth od?

Thanks.
Nov 19 '05 #1
0 1254

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

Similar topics

0
1118
by: csockwell | last post by:
I'm having trouble using the paging controls. I'm trying to create a user control to which I can bind a objectdatasource control. I've been successful at binding to a repeater and I would like to add paging. I understand adding all the methods for pagination to the objectdatasource but I can't figure out how to use that information to build my pagination controls. I know gridview uses this information, but how can I? The...
0
1594
by: ber.janssens | last post by:
Hi, I am trying the new ObjectDataSource from ASP.NET 2.0. I connected a Gridview with ObjectDataSource which is connected to a webservice which returns a DataSet. In the Webmethod I return only the rows for the current page because paging is enabled, I use the parameters maximumRows and startRowIndex for doing this. I also got sorting to work using the parameter sortExpression. The method of the webservice looks like this:
2
3789
by: Ian | last post by:
Hiya, Hope this isn't too stupid a question :) I can bind an objectdatasource to a gridview very easily (and there's a thousand tutorials of this on the net). BUT! I just want to get at the data so I can say put it in a label.text, or
0
1184
by: jdn | last post by:
Has anyone been able to get the ObjectDataSource to work with a repeater control? I have a select parameter that has a default value for page size that is passed to the select method, but it seems to ignore it. It never actually gets passed to the select method and so I'm always getting all records returned. The same business objects work with ObjectDataSource when using a GridView so I know it isn't the business objects.
0
1892
by: Northern | last post by:
Hello, I have some trouble to declare and instantiate dynamically an ObjectDataSource in the codebehind file. The idea is to bind the objectdatasource to a gridview and have automate sorting and paging. The objectdatasource SelectMethod returns a dataview. When my objectdatasource is declared in the codebehind, sorting is not working and i receive following error when clicking on a datagrid's column header. I made the same test...
1
9817
by: Roger | last post by:
Hi all On a page I am using a repeater which is linked to an ObjectDataSource (same page): <asp:Repeater ID="VideoListNewestRepeater" runat="server" DataSourceID="VideoListNewestDataSource"> The code for ObjectDataSource looks like this:
0
5525
by: Phillip Ian | last post by:
Tried this over in CSharp.General and didn't get anything, so I thought I'd try again here. If there's an AJAX specific group I could ask this in, please let me know...I did look. I'm trying to code what I think is a fairly typical Master/Detail scenario with two GridViews, using AJAX. Using the Northwind sample, I have two ObjectDataSources - one which pulls data from the Orders table, and one that pulls the related data from . Each...
1
3336
by: momenee | last post by:
All of the examples I've found regarding custom paging in a GridView that uses the ObjectDataSource control retrieve subsets of ALL of whatever it is--all products, all categories, etc--restricted only by specified PageSize. But suppose you are searching for a person by name and the user can enter into a search box any part of last name, first name, middle name, e.g., Adams or Adams M or Adams Michael This input is then a control parameter in...
3
2577
by: frankiefrank | last post by:
Hi, (ASP.NET question) I'm using an ObjectDataSource on a DataGridView for a custom paging/sorting scenario. I implemented a method that gets the parameters for the paging (number of rows to retrieve, index of first row) and the SortingExpression. In my page I have a lot of controls, used to determine which data I have to select from the DB. Since I'm using the custom paging, I had to make a static method that gets the above mentioned...
0
10373
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
10374
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
9195
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...
1
7651
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6880
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
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4331
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
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
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.