vlidation控件何时启动 [英] when does the vlidation controlsgets fired up

查看:70
本文介绍了vlidation控件何时启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么时候验证控件在页面生命周期中被激发..我的意思是在哪个事件(page_init,页面加载等...)?

解决方案

我可以(其他人也可以)回复你,但这不是编码和学习的正确方法。您需要知道ASP.NET页面生命周期如何工作以及事件序列。



看这里,看看页面生命周期是如何工作的:

ASP.Net页面和控件的完整生命周期 [ ^ ]

ASP.NET应用程序和页面生命周期 [ ^ ]

MSDN:ASP.NET页面生命周期概述 [ ^ ]

when does the validation controls gets fired up in page life cycle..i mean in which event(page_init, page load etc...) ?

解决方案

I can (others too) can reply you this but this is not the right way to code and learn. You need to know how the ASP.NET page life cycle works and the sequence of events.

Look here and see how page life cycle works:
Complete Lifecycle of an ASP.Net page and controls[^]
ASP.NET Application and Page Life Cycle[^]
MSDN: ASP.NET Page Life Cycle Overview[^]


这篇关于vlidation控件何时启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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