- 1
- 0
- 约7.82千字
- 约 8页
- 2019-08-16 发布于福建
- 举报
在WebForm1页面上直接放置用户控件WebUserControl1时的事件顺序: WebUserControl1_Init WebForm1_Init Page_Load WebUserControl1_Load WebForm1_PreRender WebUserControl1_PreRender WebUserControl1_Unload WebForm1_Unload 在WebForm1页面的OnInit方法中用代码Load用户控件WebUserControl1时的事件顺序: WebForm1_Init : OnInit WebForm1: Loading controls WebUserControl1_Init : OnInit WebForm1: added to Controls WebForm1: LoadViewState WebUserControl1: LoadViewState WebUserControl1: LoadPostData Begin WebUserControl1: LoadPostData End WebForm1_PageLoad: OnLoad after bases Onload. WebUserControl1_Load: after bases OnLoad iWebUserControl1: RaisePostDataChange WebForm1: OnPreRender WebUserControl1: OnPreRender WebForm1: SavedViewState WebUserControl1: SaveViewState 在WebForm1页面的Page_Load方法中用代码Load用户控件WebUserControl1时的事件顺序: WebForm1_Init : OnInit WebForm1: LoadViewState WebForm1_PageLoad: OnLoad after bases Onload. WebForm1: Loading controls WebUserControl1_Init : OnInit WebUserControl1: LoadViewState WebForm1: added to Controls WebUserControl1_Load: after bases OnLoad WebUserControl1: LoadPostData Begin WebUserControl1: LoadPostData End iWebUserControl1: RaisePostDataChange WebForm1: OnPreRender WebUserControl1: OnPreRender WebForm1: SavedViewState WebUserControl1: SaveViewState 在WebForm1页面的Button1_Click事件中用代码Load用户控件WebUserControl1时的事件顺序: WebForm1_Init Page_Load Button1_Click WebUserControl1_Init WebUserControl1_Load WebForm1_PreRender WebUserControl1_PreRender WebUserControl1_Unload WebForm1_Unload 在WebForm1页面的Page_Load事件中用代码Load用户控件WebUserControl1,WebUserControl1又在Page_Load事件中用代码Load用户控件WebUserControl2时的事件顺序: WebForm1_Init Page_Load WebUserControl1_Init WebUserControl1_Load WebUserControl2_Init WebUserControl2_Load WebForm1_PreRender WebUserControl1_PreRender WebUserControl2_PreRender WebUserControl2_Unload WebUserControl1_Unload WebForm1_Unload
2.0服务器控件与form runat=server标记
1, 2.0服务器控件与form runat=server/form的关系
2.0服务器控件(HTML服务器控件和Web服务器控件)是否必须需要放在form runat=server/form的标记之中,可以根据需要进行设置,大多数情况下,对于只
您可能关注的文档
- 人力资源管理师二级--基础知识.docx
- 理论力学@4摩擦.ppt
- 高一数学(人教A版)必修2课件:1-1-2-圆柱、圆锥、圆台、球的结构特征、简单组合体的结构特征.ppt
- 人教版一年级上汉语拼音jqx课件--刘红丽.ppt
- 辽宁省实验中学2019届高三模拟考试文科综合政 治试卷.docx
- XX自治区环保厅扶贫开发工作会议交流材料.doc
- 2018-2019学年河南省新乡市高一下学期期中考试数学试卷(解析版).doc
- 电解重量法(阴极铜中铜量测定)考试试题库(选择题).doc
- 7#92208轨道巷顶板预裂爆破安全技术措施2016.10.28.doc
- MCS-51单片机硬件结构..ppt
- 河北盐山中学等校2025-2026学年上学期高三一模化学试卷(含解析).docx
- 河北正定中学2025-2026学年高一上学期期末考试物理试卷(含解析).docx
- 河北张家口市怀安县2025-2026学年第一学期期末教学综合评价八年级地理试卷(含解析).docx
- 河南安阳市殷都区2025-2026学年第一学期期末教学质量检测七年级地理试卷(含解析).docx
- 河南安阳市滑县2025一2026学年第一学期期末学业质量监测八年级地理试题(含解析).docx
- 河南安阳市林州市2025-2026学年上学期期末考试高一政治试题(含解析).docx
- 河南焦作市武陟县第一中学2025-2026学年高一上学期1月月考语文试卷(含解析).docx
- 河南济源市2025-2026学年上学期期末学业质量调研七年级历史试卷(含解析).docx
- PICC导管并发症的紧急处理与护理.pptx
- 河南鹤壁市2025-2026学年高二上学期期末考试生物试题(含解析).docx
原创力文档

文档评论(0)