Solved

asp.net - gridview with a scrollbar

Posted on 2012-03-20
2
698 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generate Unique ID in VB.NET 21 99
AJAX Wordpress Not Reading Variable 2 55
C# Linq Select From List 3 41
"The resource cannot be found" 1 22
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 article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦

680 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