Can I pass data via JQUERY to ASP.NET MVC controller action and have a view rendered in new browser
        Posted  
        
            by Simon Lomax
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Simon Lomax
        
        
        
        Published on 2010-05-03T15:01:15Z
        Indexed on 
            2010/05/03
            15:08 UTC
        
        
        Read the original article
        Hit count: 521
        
Hi,
Can anyone advise if its possible to pass data via JQUERY to an ASP.NET MVC controller action and have a view rendered in new browser tab based on the model data passed to the action method.
My scenario is that I have a Jqgrid populated with product info on a page. The user would tick the items in the grid that they would like a label produced for. After they've made their slection they would click a button and I would like (if possible) to render a view of that contains a label for each selected item and have the view render in a new browser tab.
All the code to allow the selections and post the relevant data back to the action method is all working fine and I know its easy to use the Jquery $(selector).load() command to populate an element on the current page with the HTML returned from the action.
But is it possible to populate an element on a page in a new browser tab.
If it is how would I go about it?
Hope this make sense.
© Stack Overflow or respective owner