Access Master Page Control Properties
来源:互联网 发布:三亚网络监管局 编辑:程序博客网 时间:2024/06/06 00:00
There are two methods to access Master Page Control Properties.
- User find control
Label lbl = (Label)Master.FindControl("Label1");
- User @MasterType
Add <%@ MasterType VirtualPath="~/Master/Default.master"%> to the content page
Then I can use code below to set the label in master page or get the value from master page
Label2.Text = Master.address;
Master.label1text = "successful";
- Access Master Page Control Properties
- Event in Master Page, Content Page and User Control
- page、control、master以及master中的control的事件执行顺序
- Page Master
- Page Control
- ASP.NET的Page指令, Master指令,Control指令,Register指令,PreviousPageType指令,MasterType指令
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Access Control
- Master Page 初探
- 实现Master Page
- Master Page 使用心得
- Control Master简介
- How to programmatically assign a SkinID to a control while using a master page in ASP.net 2.0
- 中兴通讯TD传输解决方案
- 关于JVM创建对象的解读
- WinLIKE仿微软视窗
- 在新版Live Writer中连接csdn博客
- spring中的HibernateDaoSupport的用法
- Access Master Page Control Properties
- ibatis中字段名问题
- 利用DbProviderFactory实现数据操作跨数据库数据操作类
- Hibernate学习笔记:对象生命周期
- 回调函数
- jfreechart图片无法显示问题
- vxworks之概述
- CSS常用命名规则
- Eclipse不能设置断点解析