Data grid with current page combo box selector

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

Hi,

I have a data grid that is set up like this

Page items displayed = 10
EnableViewState = false (i dont want to send large amounts of data over the
internet!)
CustomPaging = false
AllowPaging = true

now at the bottom of the data grid page, i have the numbers showing up as
the paging method, i got it to switch pages and show the proper page when
enableviewstate = false was on, but what I need to do now is show a combo
box above the grid that says Page x of y is the current one showing then in
the list show all the pages availabe to select... that part I have done... i
based it on the pages count in the grid and the value of the item for the
combo box is the page index of the grid that page is associated with... but
all the attemps at making the newly selected item in the combo box change
the current page in the data grid have failed... i tried changeing the data
grid's curent page index and got nothing out of it... how would you go about
doing this?! thanks
 
Hi Brian,

Have you had a chance to check out the suggestions in my last reply or have
you got any further ideas on this issue? If you have anything unclear or if
there're anything else we can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
 
Back
Top