Click here to Skip to main content
11,802,222 members (54,343 online)
Click here to Skip to main content

Userful GridView ASP.NET

, 31 Jan 2012 CPOL 49.4K 3.5K 50
Rate this:
Please Sign up or sign in to vote.
I tried to summrize the common feature which we generally want in GridView.


I tried to summrize the common feature which we generally want in GridView.

  1. Fixed hedder and scrollbar – using jQuery
  2. Check Uncheck all rows - using jQuery
  3. Sorting direction imgae indicator - just by code behind no CSS no Script
  4. Filter GridView row at client side - javascript

Using the code

This is just a code snips so it will not run at you end you need to include this codes to your project and probably need to make necessarily changes.

You need to include the jquery-1.4.4.min.js and ScrollableGridPlugin.js" in you prject. (I am uploding that with this article)

1. Fixed hedder and scrollbar – using jQuery



<script src="../Scripts/jquery-1.4.4.min.js" type="text/javascript"></script>


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Himanshu Thawait
Technical Lead Cognizant
United States United States
Himanshu Thawait is from Pune INDIA, He is Currently Working with Cognizant. As a Technical Designer

Himanshu has more than 9+ yrs of experience in the IT industry working on Microsoft Technologies. He is involved in various project activities like designing the system and technical architecture,leading technical front and doing core development.He also has strong knowledge of Enterprise Business Application Domain.

Technical experience :C#, ASP.NET MVC 4 @Razor, WCF and Webservices, Biztalk 2010/2009/2006R2 with EDI(HIPPA).

You may also be interested in...

Comments and Discussions

GeneralMy vote of 5 Pin
manoj kumar choubey30-Jun-14 1:33
membermanoj kumar choubey30-Jun-14 1:33 
QuestionRequest for entire code Pin
Bridewin17-Apr-13 2:54
memberBridewin17-Apr-13 2:54 
AnswerRe: Request for entire code Pin
Himanshu Thawait17-Apr-13 4:53
memberHimanshu Thawait17-Apr-13 4:53 
GeneralMy vote of 1 Pin
Member 948470624-Dec-12 22:55
memberMember 948470624-Dec-12 22:55 
GeneralRe: My vote of 1 Pin
Himanshu Thawait27-Dec-12 6:06
memberHimanshu Thawait27-Dec-12 6:06 
Questiongood move Pin
Mr. Tapan Kumar10-Oct-12 9:56
memberMr. Tapan Kumar10-Oct-12 9:56 
GeneralMy vote of 2 Pin
Mr. Tapan Kumar10-Oct-12 9:55
memberMr. Tapan Kumar10-Oct-12 9:55 
GeneralMy vote of 5 Pin
CS140111-Mar-12 18:18
memberCS140111-Mar-12 18:18 
Questiondisplay mysqldata on gridview Pin
smp 23429-Feb-12 22:19
membersmp 23429-Feb-12 22:19 
QuestionMissing functions Pin
Paul M Cohen7-Feb-12 9:25
memberPaul M Cohen7-Feb-12 9:25 
AnswerRe: Missing functions Pin
thawait.himanshu8-Feb-12 5:47
memberthawait.himanshu8-Feb-12 5:47 
GeneralRe: Missing functions Pin
Paul M Cohen8-Feb-12 9:04
memberPaul M Cohen8-Feb-12 9:04 
GeneralRe: Missing functions Pin
thawait.himanshu8-Feb-12 11:05
memberthawait.himanshu8-Feb-12 11:05 
GeneralRe: Missing functions Pin
Paul M Cohen8-Feb-12 16:52
memberPaul M Cohen8-Feb-12 16:52 
I am getting a syntax error after "ScrollHeight: 600," and the grid does not show scroll bars but there is something invisible on the right edge of the grid when it should be scrolling. It looks like maybe the scroll bar is not visible. I am using the latest version of JQuery 1.7.1 if that matters. Pin
Emad Mokhtar1-Feb-12 12:07
memberEmad Mokhtar1-Feb-12 12:07 
GeneralRe: Pin
Jason Vogel1-Feb-12 16:37
memberJason Vogel1-Feb-12 16:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.151002.1 | Last Updated 31 Jan 2012
Article Copyright 2012 by Himanshu Thawait
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid