Passing extra parameters and remembering previous values

moonlight293's Avatar


02 Jul, 2012 09:23 PM

Hi everyone,

I'm currently using ASP.NET MVC, and need a bit of help with some problems.

  1. Can you pass extra parameters to the Autosuggest method in the Controller? (i.e. can you have something like 'public JsonResult Autocomplete(string q, bool checkbox)' ) ?

  2. When I submit a search, the page needs to submit a form to show the results. When this happens the autosuggest textbox forgets the values it searched with and becomes empty again. Is there a way to prevent this?

Thank you!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac