Solved

Filter in Datagrid on client side

Posted on 2006-10-26
8
432 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
0
Comment
Question by:Bharat Guru
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
8 Comments
 
LVL 10

Accepted Solution

by:
jnhorst earned 50 total points
ID: 17816214
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
 
LVL 13

Assisted Solution

by:jeebukarthikeyan
jeebukarthikeyan earned 50 total points
ID: 17817151
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
 

Author Comment

by:Bharat Guru
ID: 17818739
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Expert Comment

by:jnhorst
ID: 17819655
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
 

Author Comment

by:Bharat Guru
ID: 17819694
I thought it might be some built in feature for DATAGrid in asp.net
0
 
LVL 13

Expert Comment

by:jeebukarthikeyan
ID: 17819710
hi,

sorry there is no build in feature like that

b u d d h a
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question