Solved

VB.net 2.0 - Gridview Page of...

Posted on 2012-04-05
5
242 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
[X]
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
  • 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 36

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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