C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !






ScrollBar for GridView


Posted Date: 18 Jun 2008    Resource Type: Code Snippets    Category: ASP.NET WebForms

Posted By: Bharathi       Member Level: Diamond
Rating:     Points: 6



When displaying a GridView with large amount of data, the page will automatically scroll . To avoid this , and to have a Scrollbar for the GridView, place the Control within the <DIV> and specify its style as specified in the below sample:


<DIV style="height:400px; overflow:auto;Width:775px">
<asp:GridView runat ="Server" id="Gridview1" >
<columns>
//Define the column here
</Columns>
<asp:GridView>
</DIV>




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
GridView with Scrollbar  .  GridView and div tag  .  GridView and div  .  GridView  .  Avoid AutoScrolling in GridView  .  AutoScrolling in GridView  .  AutoScrolling  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Cross Page PostBack
Previous Resource: How to bind Radio Button List throuh Sql Server
Return to Discussion Resource Index
Post New Resource
Category: ASP.NET WebForms


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

budget conference call

Contact Us    Privacy Policy    Terms Of Use