Solved

asp.net - gridview with a scrollbar

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
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 …

919 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

17 Experts available now in Live!

Get 1:1 Help Now