Solved

asp.net - gridview with a scrollbar

Posted on 2012-03-20
2
696 Views
Last Modified: 2012-08-14
Hello experts,

I have a single page intranet application that has a submit form (file upload control and a upload button).  Below that I have a 3 column gridview control.

When the user uploads their file the app returns info from the file and displays it in the gridview.  I would like to provide the capability for the user to scroll hortizontally within the gridview leaving the submit form.  So the gridview can be scrolled but not the entire page.  Any ideas?

Thanks!
0
Comment
Question by:j420exe1
2 Comments
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 500 total points
ID: 37745336
Use an asp.net panel control : http://www.w3schools.com/aspnet/control_panel.asp
0
 
LVL 7

Expert Comment

by:Lalit Chandra
ID: 37745341
<div style="width:300px;height:250px;overflow:auto;">

//put your gridview control here

</div>

Then if the content is too tall, there will be a vertical scrollbar. If the content is too wide and cannot wrap, there will be a horizontal scrollbar.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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