Solved

Filter in Datagrid on client side

Posted on 2006-10-26
8
426 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now