Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

VB.net 2.0 - Gridview Page of...

Posted on 2012-04-05
5
239 Views
Last Modified: 2012-04-05
OK...I was hoping someone could help me with this one.

I have a gridview that I'm using image of arrows (NextPageImageURL) which look great...however I would also like to add Page 1 of 5 and have it update when the user picks the next page.

How can I do this?

Mark
0
Comment
Question by:smithmrk
  • 3
5 Comments
 
LVL 22

Expert Comment

by:plusone3055
ID: 37813177
http://msdn.microsoft.com/en-us/library/ms379580(v=vs.80).aspx

by default, the DetailsView control renders page numbers for navigating through the records (see Figure 7). You can use the same properties as the GridView control to specify the paging user interface: the PagerSettings and PagerStyle properties
0
 

Author Comment

by:smithmrk
ID: 37813216
Gridview Example with ArrowsOK...not if I understand or if your not understanding my question, so I added a picture as an example.

I have the arrows, but next to the arrows in that BIG Blue space next to these arrows how do I get something like Page 1 of 5 in the center?

Mark
0
 

Author Comment

by:smithmrk
ID: 37813221
This is simliar to Figure 4 on your post...but I also want to display the number of pages and what page the user is on.

Mark
0
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 37814485
0
 

Author Closing Comment

by:smithmrk
ID: 37814663
PERFECT!!!

Thanks,
Mark
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question