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
Solved

Filter in Datagrid on client side

Posted on 2006-10-26
8
430 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

840 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