View Single Post
  #2 (permalink)  
Old March 31st, 2012, 11:28 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Pfff, what a long story for a question like "Hey, how do I filter a GridView. You almost lost me half way down the question.

Anyway, take a look here: http://www.4guysfromrolla.com/articles/081110-1.aspx

In addition, take a look at Filtering Data on page 446 and further. It's not as advanced as the QueryExtender control but it may be enough in many cases.The example shows one drop down, but it can easily be extended with more, or other controls.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
Reply With Quote