Custom Filter control

5 posts, 0 answers
  1. Chirag
    Chirag avatar
    37 posts
    Member since:
    May 2011

    Posted 09 Mar 2012 Link to this post

    hi to all 

    can any one give me a idea about filter control 

    in telerik gridview their is a built in filter control on column 
    i wan to customize that part  
    No need of check box part rest of all are needed except check box records 
    need event on "Filter" and "Clear Filter" button 
    on that we get column name and entered value in filter text box

  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 09 Mar 2012 Link to this post

    Hello,

    GridViewColumn.ShowDistinctFilter controls the visibility of the distinct values part.

    Why do you need these events? What are you going to do when they happen? 

    Greetings,
    Ross
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. Chirag
    Chirag avatar
    37 posts
    Member since:
    May 2011

    Posted 09 Mar 2012 Link to this post

    hello Ross

    in my case i have almost 1000K records in table so i will bind only 100 records and apply paging

    if user clik on 3 page then get 201  to 300 records from database 

    so  in this case  flter control works only 201 to 300 records but i wan to use this control for filter records base on that we filter a records and bind to grid 

    suppose we filter on "Name" contains "chirag"   and get 300 records from db so pagercontrol.ItemCount = 300 and display first 100 records 

    if he click on clear filter then again get top 100 records and pagercontrl.ItemCount= 1000K
  4. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 09 Mar 2012 Link to this post

    Hello,

    You can't do that with the stock filtering control.

    In this case you should develop your own custom filtering control that will be able to do anything.

    Regards,
    Ross
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  5. Chirag
    Chirag avatar
    37 posts
    Member since:
    May 2011

    Posted 09 Mar 2012 Link to this post

    but in this demo it's working on data which is loaded 
    but i wan to do sever trip and fetch the records is their any way to do this 
    same concept i want to apply on shorting 

    can you please  post any sample for this kind of feature 
Back to Top