We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Filter in Datagrid on client side

Bharat Guru
Bharat Guru asked
on
Medium Priority
486 Views
Last Modified: 2009-12-16
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
Comment
Watch Question

Commented:
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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
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

Author

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.

Commented:
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

Author

Commented:
I thought it might be some built in feature for DATAGrid in asp.net
hi,

sorry there is no build in feature like that

b u d d h a
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.