title: ASP.Net MVC - which is the best approach for multi select grouping using JQuery Dialog
body: <p>This is my scenario</p>
  
  <p>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.</p>
  
  <p>So, which is the best way to pass the selected items to the modal pop-up? </p>
  
  <ol>
  <li>Though the query string ? - what happens if the no:of items selected is large, will the url support that much characters</li>
  <li>Keep the list in the parent page in a javascript variable and return the selected group from the modal pop-up?</li>
  </ol>
  
  <p>Or is there is any other better option?</p>
  
  <p>Thanks,</p>
  
  <p><a href="http://wwww.rajeeshcv.com" rel="nofollow noreferrer">Rajeesh</a></p>