-
Sep 19th, 2014, 12:43 PM
#1
Thread Starter
New Member
Gridview is larger than page view, What should i do?
I am working on ASP.Net and now i want to show the records of employee. For this purpose i used gridview1 to show all the records, but the view of gridview is larger than the pageview, and some records are hidden in the right navigation bar. Now, what should i do to show all the records without any column hidden in the navigation bar and that looks like pretty better also.
-
Sep 19th, 2014, 02:02 PM
#2
Re: Gridview is larger than page view, What should i do?
If I remember right, in amongst the proprtties, you can set up pagination. Experince has taught me that about 50 is the max that a person can realistically take in and deal with in a single chunk.
-tg
-
Sep 19th, 2014, 02:12 PM
#3
New Member
Re: Gridview is larger than page view, What should i do?
There's a gridview variable called "PageSize" which determine how many records to display on a single page.
As mentioned above, you will need to setup pagination if you would users to see more records than set in the PageSize variable
-
Sep 22nd, 2014, 02:12 PM
#4
Thread Starter
New Member
Re: Gridview is larger than page view, What should i do?
Sorry dear, as I am new to asp.net and vb.net I cannot get it quiet well. Could you please elaborate it.
-
Sep 22nd, 2014, 08:16 PM
#5
Re: Gridview is larger than page view, What should i do?
@Abdullah
The suggestions from post #2 and #3 can be found here:
GridView.PageSize Property
Paging and Sorting the GridView's Data
KGC
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|