Solved

asp.net - gridview with a scrollbar

Posted on 2012-03-20
2
699 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to fix 'event logs could not be searched' error asp.net? 3 26
Load XML element 3 43
C# Change the instruction to user. 11 39
Why am I losing my session variable value 11 40
The most up-to-date version of this article is on my Blog https://iconoun.com/blog/
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

710 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