keyword search MVC Grid

3 posts, 1 answers
  1. DAR
    DAR avatar
    2 posts
    Member since:
    Nov 2010

    Posted 25 Jan 2013 Link to this post

    Hi , can you point me to some samples , documentation to go about a keyword search implementation.
    We have a textbox and search button which is supposed to filter the data on the grid. 
    On the button click, we pass the keyword but how do I pass it to the grid controller? 
    The grid by default calls the controller to fill all the values but if they enter a keyword search,
    how do I pass that value to the grid by default lists all the values. 
    It's a simple keyword filter on the grid but I haven't found any help. RIght now , we use class level variables 
    to make it work but there is probably a better way. 
  2. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2304 posts

    Posted 29 Jan 2013 Link to this post

    Hello Dario,

    You could filter the data on form submit or using an ajax call. For your convenience I am attaching a sample project showing both of the approaches. You can find more information about sending additional values to an action method in this FAQ section.

    Regards,
    Dimiter Madjarov
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. DAR
    DAR avatar
    2 posts
    Member since:
    Nov 2010

    Posted 05 Feb 2013 Link to this post

    great, thank you.
Back to Top