是否ASP.net MVC支持Page_Load事件? [英] Does ASP.net MVC support a Page_Load event?

查看:468
本文介绍了是否ASP.net MVC支持Page_Load事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的ASP.net MVC。

要开始学习MVC的,我正想通过MVC,在那里他们用Page_Load事件的教程是一样的Web表单。

请问MVC支持的事件,若然被支持的事件。

请阐明我这个..


解决方案

  

,我正想通过MVC的教程,在那里他们使用的Page_Load
  事件是一样的Web表单。


您可以忘掉这个教程。类似的事件和事物的Page_Load在ASP.NET MVC应用程序不使用。你可能在看一个关于经典的WebForms教程。

您可以开始使用ASP.NET MVC在官方页面: http://asp.net/mvc

I am new to ASP.net MVC .

To start learning on MVC,i was going through a tutorial on MVC, where they used Page_Load event which is same as in Web forms.

Does MVC Supports events,if so what events are supported.

Please Clarify me about this..

解决方案

,i was going through a tutorial on MVC, where they used Page_Load event which is same as in Web forms.

You could forget about this tutorial. Things like events and Page_Load are not used in an ASP.NET MVC application. You were probably looking at a tutorial about classic WebForms.

You may get started with ASP.NET MVC at the official page: http://asp.net/mvc

这篇关于是否ASP.net MVC支持Page_Load事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆