Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ASP.NET Events

Here is the full list of all events that occur in an ASP.NET application, from the standard modules, to the page, master page, page controls and master page controls.
I have not included the IIS 7 specific events (Log, for example).
What
When
HttpApplication.BeginRequest
HttpApplication.AuthenticateRequest
HttpApplication.PostAuthenticateRequest
HttpApplication.AuthorizeRequest
HttpApplication.PostAuthorizeRequest
HttpApplication.ResolveRequestCache
HttpApplication.PostResolveRequestCache
HttpApplication.PostMapRequestHandler
HttpApplication.AcquireRequestState
HttpApplication.PostAcquireRequestState
HttpApplication.PreRequestHandlerExecute
Page.FrameworkInitialize
Page.InitializeCulture
Page.OnPreInit
MasterPage.FrameworkInitialize
MasterPageControl.FrameworkInitialize
PageControl.FrameworkInitialize
MasterPageControl.OnInit
PageControl.OnInit
MasterPage.OnInit
Page.OnInit
Page.OnInitComplete
Page.LoadPageStatefromPersistenceMedium If IsPostBack
MasterPageControl.LoadControlState If IsPostBack, RegisterRequiresControlState was called and control state contains elements
PageControl.LoadControlState If IsPostBack, RegisterRequiresControlState was called and control state contains elements
MasterPageControl.LoadViewState If IsPostBack and ViewState contains elements
PageControl.LoadViewState If IsPostBack and ViewState contains elements
Page.OnPreLoad
Page.OnLoad
MasterPage.OnLoad
MasterPageControl.OnLoad
PageControl.OnLoad
{PageControl|MasterPageControl}.OnCustomEvent If a custom event was fired on a control declared on the page/master page
{PageControl|MasterPageControl}.OnBubbleEvent If a custom event was fired on a control declared on the page/master page
{Page|MasterPage}.OnBubbleEvent If a custom event was fired on a control declared on the page/master page
Page.OnBubbleEvent If a custom event was fired
Page.OnLoadComplete
Page.OnPreRender
MasterPage.OnPreRender
MasterPageControl


Ïà¹ØÎĵµ£º

ASP.NET Éú³É¾²Ì¬Ò³Ãæ

ÒòΪ¹«Ë¾µÄ²úÆ·ÓÃasp¿ª·¢£¬ ǰһ¶Îʱ¼äÓÃaspдÁËÒ»¸öÉú³É¾²Ì¬Ò³Ãæ²¢·ÖÒ³µÄ³ÌÐò£¬µ«ÔµÓÚ¶Ô.netµÄÈȰ®£¬Ð´ÁËÕâ¸ö.netϵÄÉú³É¾²Ì¬Ò³Ãæ²¢·ÖÒ³µÄ³ÌÐò¡£
Ö÷ÒªµÄÔ­Àí¾ÍÊÇÌæ»»Ä£°åÀïµÄÌØÊâ×Ö·û¡£
1¡¢¾²Ì¬Ä£°åÒ³Ãæ template.html£¬Ö÷ÒªÊǶ¨ÒåÁËÒ»Ð©ÌØÊâ×Ö·û£¬ÓÃÀ´±»Ìæ»»¡£
<!DOCTYPE HTML PUBLIC "-//W3C//DTD ......

ÎÞˢи½¼þÉÏ´« £¨asp.net°æ £©

Ò»Ö±ÒÔÀ´¸½¼þÉÏ´«¶¼ÊǸöºÜÓôÃÆµÄÎÊÌ⣬¸Õ¿ªÊ¼ÊÇÀûÓÃjsÌí¼Óinput file È»ºóÒ»ÆðÌá½»À´ÊµÏÖ¶àÎļþÉÏ´«£¬ÔÚʹÓÃ163ÓÊÏäµÄʱºòºÜÊÇÏÛĽËüµÄ¸½¼þÉÏ´«²¿·Ö£¨Ñ¡ÔñÍêÎļþ¾ÍÌá½»£¬¿ÉÒÔ¶à¸öÎļþÒ»ÆðÉÏ´«£¬¶øÇÒ»¹¿ÉÒÔ»ñÈ¡ÉÏ´«½ø¶È£©£¬Õâʱ¾ÍºÜÏë×Ô¼ºÒ²Ð´¸öÄÇÑùµÄ¶«Î÷³öÀ´¡£
×î½ü²ÎÕÕÍøÉϵÄһЩ×ÊÁÏ£¬³õ²½µ½´ïÁËÔ¤ÆÚÄ¿±ê£¨¿Í»§¶Ë»ñÈ¡ÉÏ ......

ASP.NET MVC£ºÈçºÎʵÏÖÒ»¸ö×Ô¼ºµÄModelBinder£¿

»·¾³£º
Windows 2008, VS 2008 SP1, Asp.Net Mvc RC1
------------------------------------------------------------------------------
ÉÏÎÄ£ºAsp.Net Mvc: Model Binding »úÖÆ·ÖÎö  ÖУ¬ÎÒÃǼòµ¥·ÖÎöÁËAsp.Net MvcÖÐModel BindingµÄ¹ý³Ì£¬·Ç³£´Ö²Ú£¬±¾ÎĽ«Ì½Ë÷ÈçºÎʵÏÖÒ»¸ö×Ô¼ºµÄModelBinder£¬²¢½øÒ»²½Õ¹Ê¾Ç°Îĺ ......

dzµ­asp.netÖÐGridView+CheckBoxʵÏÖȫѡ/·´Ñ¡/ɾ³ý

½ñÌìÔÚʵÏÖÈçÌâÄÚÈÝʱ£¬Ê¼ÖÕ³öÏÖÁËһЩÎÊÌ⣬ÔÚÂÛ̳ÁôÑÔ£¬»Ø¸´ÕßÉõ¶à£¬µ«Ò²Á¼Ý¬²»Æë£¬ËìÔÚÍ´¿à¼å°¾µÄÕûÀíºó£¬Éú³ö´ËÎÄ
±¾ÎĽöΪһÖÖGridView+CheckBoxʵÏÖȫѡ/·´Ñ¡/ɾ³ýµÄ·½·¨£¬½ö¹©´ó¼Ò²Î¿¼£¬»¶Ó­´ó¼ÒÌá³ö×Ô¼º±¦¹óÒâ¼û
demo.aspxÒ³Ãæ
<!-- ÂÔ-->
<asp:GridView id="GvContent"  runat="server" &g ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ