Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8473345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:19:30+00:00 2026-06-10T17:19:30+00:00

I have created a paging grid in asp.net with this jquery plugin(https://github.com/gbirke/jquery_pagination),that work fine.But

  • 0

I have created a paging grid in asp.net with this jquery plugin(https://github.com/gbirke/jquery_pagination),that work fine.But I do not kown how to do search. I am a newbie.Thank you very much!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:19:32+00:00Added an answer on June 10, 2026 at 5:19 pm

    Let’s ignore jQuery for now and assume that you’d implement search entirely in .NET, presumaly in response to a GET request with a querystring parameter called “q“.

    How you actually perform the search isn’t relevant: I assume you have some kind of database object or Lucene index searcher that provides you with the result, then it’s just a matter of paging the results of that data with optionally provided paging querystring parameters (usually called start and count) respectively.

    e.g. (in MVC parlance)

    public ActionResult Search(String q, Int32? start, Int32? count) {
    
        // example using L2S or EF
        var results = from d in _db.Documents
                      where d.Content.Contains("q")
                      select d;
        if( start != null ) results = results.Skip( start.Value );
        results = results.Take( count != null ? count.Value : 25 );
    
        return View( results );
    }
    

    Now then, when you get jQuery involved I assume you want to do the search asynchronously. Then it’s just a matter of re-implementing the server-side Search action, but return JSON, XML, or a raw HTML fragment instead of an entire view document.

    Presumably you’d execute an event-handler for the keypress event of a Textbox (detect the Enter/Return key), fire off the Ajax request to the Search controller action, then convert the response into HTML (if it isn’t already) then insert it into your result table. Simples.

    Further technical details are omitted for various reasons.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created some JQuery that will expand a div 'popup' on hover and
Using jquery's jqGrid plugin, I have it setup to do sorting, paging, and searching.
i have a paging grid and some function that load a new store to
I have created an android application that calls (using kSOAP library) a SOAP based
I have created a function that shows/hides different messages according to a combination of
I have created a dialog and got a problem that only part of the
I have created a stored procedure GetNotifications that returns all notifications for a specific
I have this really large array being created and displayed, and right now it
I need to create my own grid which will have customized paging and sorting.
I have an Extjs Grid with a Paging toolbar. I need to pass the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.