Solved

asp.net - gridview with a scrollbar

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now