ASP.Net MVC - which is the best approach for multi select grouping using JQuery Dialog

Posted by Rajeesh on Stack Overflow See other posts from Stack Overflow or by Rajeesh
Published on 2010-03-15T06:34:47Z Indexed on 2010/03/15 6:39 UTC
Read the original article Hit count: 232

Filed under:
|

This is my scenario

I have an view(page) with list of items, a user could select single or multiple items from this page and click on a "Add to Group" button. Then a modal dialog(JQuery dialog) will be shown, from that he could select group, then press the add button. Which causes the items selected in the parent page is added to that particular group.

So, which is the best way to pass the selected items to the modal pop-up?

  1. Though the query string ? - what happens if the no:of items selected is large, will the url support that much characters
  2. Keep the list in the parent page in a javascript variable and return the selected group from the modal pop-up?

Or is there is any other better option?

Thanks,

Rajeesh

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about jquery-ui