javascript - How to render an .aspx page into a modal in MVC -


i need way open modal in mvc inside webform .aspx page. i've tried open .aspx in new window javascript.

window.open("test.aspx", "test", "width=800, height=600"); 

it works, design of project i'd have in modal.

i thought renderize .aspx in control , pass result string javascript ajax call...

but don't know how to...

you should able render partial @html.partial("test") (if using razor). not sure though since don't know more architecture of app. more info on partials: mvc partials


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -