Manual custom paging in gridview
-
Hello, I am writing a c# asp.net application. I have a gridview in which i am using a numeric paging mechanism with previous and next button. I would like to add a textbox where the user can enter the exact page number he whishes to move to and moving to that page by pressing a button or by pressing "enter". I would like it look like: textbox (where the user enters the page number) "out of 46" (for example) Pls suggest some solution or provide me some example or link through which i can get my work done. Regards,
Pranav Dave
-
Hello, I am writing a c# asp.net application. I have a gridview in which i am using a numeric paging mechanism with previous and next button. I would like to add a textbox where the user can enter the exact page number he whishes to move to and moving to that page by pressing a button or by pressing "enter". I would like it look like: textbox (where the user enters the page number) "out of 46" (for example) Pls suggest some solution or provide me some example or link through which i can get my work done. Regards,
Pranav Dave
This is a easy way, Just set grid view page index with that text box values. Before doing that, ensure that entered cound should be numeric and less or equal to total no of pages in grid view.
Parwej Ahamad R & D with IIS 5.0/6.0