0

我有 @RenderBody() 方法来渲染布局页面,我想知道它何时开始以及何时通过 javascript 完成下载。我该怎么做,因为我希望我的网页在下载内容时有一个覆盖。我可以在 ajax 中做,但我不知道如何在 MVC @RenderBody() 中做。

4

1 回答 1

0

Ususally some screen is necessary when you show page and download some specific data by ajax request.

When you render content in layout with RenderBody() it renders full page (layout and content) on server return it to Response.OutputStream as whole unit.

So you don't need to screen anything.

于 2012-11-01T10:06:32.347 回答