简体   繁体   中英

MVC3 Dialog display from controller

I am calling controller action method from dialog box from view. I want to return to same dialog box in same view. what return type should I specify in controller action method.

I suggest you take a look at Progressive enhancement tutorial with ASP.NET MVC 3 and jQuery . It provides a pretty simple example on how to update a dialog box with new content by adding jQuery to perform the requests needed for updating the UI .

Hope it helps!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM