English 中文(简体)
MyUpdatePanel.Update() in Razor
原标题:MyUpdatePanel.Update() in Razor

我正试图改变我现有的伙伴关系。 http://en.wikipedia.org/wiki/Microsoft_ASP.NET_Razor_View_Engine” rel=“nofollow” 我使用许多更新版,我确实使用<代码>MyUpdatePanel.Update(后面的代码进行有条件的更新。

我没有发现这一功能。 3. 。 我可以看到许多博客的话题,以及如何利用它来达到同样的目的,但我想有条件地从我的行动中得出其他部分看法。 能否做到这一点?

问题回答

您与阿贾克斯合作的方式。 NET MVC与ASP完全不同。 NET way(即Ajax工具包,有服务器-侧控制,如更新小组)。

ASP.NET MVC is more basic and therefore more work. You handle Ajax calls on the client side using a library such as jQuery, and on the server side you implement a controller with Ajax methods.

查阅





相关问题
Using jquery to get a partial view and updating the UI

I need to render a partial view (returned from the controller) to show some customer summary details. This will need to happen when the user clicks on a button. In the the mean time the user can ...

MVC 2 / MVC 3 / MVC 4

MVC 2 我们可以轻松地创造领域。 现在,我的问题涉及nes地区(地区内)。

Asp.Net MVC 2 - Changing the PropertyValueRequired string

Using a resx file in the App_GlobalResources directory, I ve been able to change the default message for the PropertyValueInvalid string of the model validators. But it doesn t work to translate the ...

ASP.NET MVC 3 - What features do you want to see? [closed]

I know a bunch of people that are really enjoying the improvements that ASP.NET MVC 2 made over the first release. I have just started to migrate our MVC 1 project over and so far areas has totally ...

热门标签