View Single Post
  #5 (permalink)  
Old April 1st, 2012, 03:20 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

Quote:
In this particular instance you don't want to post back until the user is ready to make the filter selection(s)
This is a design choice you need to make. You can use AutoPostBack on the controls and get direct filtering on the controls you selected so far.

if you don't want that, just add a button or an image to the page that triggers the data binding when clicked. This way the user can make the selection and then press a button to query for the data.

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