Monday, 15 August 2011

asp.net mvc - Show partial View in pop up window -


I'm new to the MVC framework, I need your support to succeed. I have a partial view and I need to show a partial view in a pop up window when a view is loaded. Please suggest me an optimal solution for this. Thanks in advance.

You can use plug-ins to do this, for example, You can put partial views in the code> div tag:

  & lt; Div id = "modal" & gt; @html.party ("_poling", model) & lt; / Div & gt;   

jes:

  $ (function () {$ ('# modal'). Lean model ({top: 70, closebutton: ". Modal_clos, .btnClose "});});    

No comments:

Post a Comment