Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2009, 11:28 AM
Registered User
 
Join Date: Jan 2009
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Wanted Scrolling with Gridview

Dear All,

I have design the page loading the data into the gridview from database table and I have the image as a header. When the data are bound into the gridview, the size of the gridview grows large and the pixel of the image get faded.
So, I thought of the Scroll bar in Gridview. Is it possible to have it? It Yes, how it could be done? Thanks in advance. Your help is appreciable.

Thanks
 
Old February 10th, 2009, 05:56 AM
Authorized User
 
Join Date: Dec 2004
Posts: 69
Thanks: 0
Thanked 5 Times in 5 Posts
Send a message via Yahoo to whiterainbow
Question Why don't you use panels?

Hi,

If you are feeling that the gridview is going a long in page why don't you use paging option? If you are not going for paging, use a panel and set the height of the panel and set the scrollbar option to auto so that when the grid is bound with data, it will automatically enable the scrollbar in the panel.

__________________
Thanks in advance.

Regards,

Senthil Kumar M.
The Following User Says Thank You to whiterainbow For This Useful Post:
Yeshey (February 13th, 2009)
 
Old February 13th, 2009, 10:52 PM
Registered User
 
Join Date: Jan 2009
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello Whiterainbow,

Anyways, thanks for your reply. I have got the solution with the panel.



Thanks
 
Old February 16th, 2009, 12:36 AM
Friend of Wrox
 
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default

Panel would be fine if there are not many rows. If the amount of information is big, then it would be better to use paging, so that the the siz eof the page is predetermined, and it would be faster for both transfering and rendering.





Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP WANTED naana Visual Studio 2005 3 July 26th, 2007 03:45 AM
Struts help wanted Guna JSP Basics 0 December 7th, 2004 11:03 PM
Book suggestion wanted olambe Classic ASP Databases 0 October 18th, 2004 02:24 PM
Query Wanted. irfan4 Access 1 July 15th, 2003 06:49 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.