Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 447
  • Last Modified:

Filter in Datagrid on client side

I want to  add three checkes on top of the page "AL"L, "TypeA" and "TypeB" now how can I filter datagrid result wihtout postback
0
Bharat Guru
Asked:
Bharat Guru
  • 2
  • 2
  • 2
2 Solutions
 
jnhorstCommented:
That would require some pretty decent JavaScript to iterate through the rows in the resulting table, setting the display style to 'none' for the rows that do not match your filter criteria.

You might want to bump the points up a bit for that... the complexity is somewhere between mid to high.

John
0
 
jeebukarthikeyanCommented:
hi,

this can be achieved by using ajax...

i will give u some sample links
http://www.15seconds.com/issue/050526.htm

Atlas for ASP.NET is the implementation of AJAX technology introduced by Microsoft.
http://ajax.asp.net/Default.aspx?tabid=47

b u d d h a
0
 
Bharat GuruAuthor Commented:
I don't mind sending all data on cleint machine when they load the page first time. Once all data is loaded on client browser I don't think we need any AJAX or sever trip to filter on grid it self.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
jnhorstCommented:
If you load all data on the client, you are correct in now needing AJAX.  You will need to do it in JavaScript.  100 points is a little light for the complexity of the solution, and the JavaScript section of EE might be a better area.

John
0
 
Bharat GuruAuthor Commented:
I thought it might be some built in feature for DATAGrid in asp.net
0
 
jeebukarthikeyanCommented:
hi,

sorry there is no build in feature like that

b u d d h a
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now