HiddenField Class
2024-10-07 03:47:42
HiddenField Class
- Namespace:
- System.Web.UI.WebControls
- Assembly:
- System.Web.dll
Represents a hidden field used to store a non-displayed value.
Introduction
The HiddenField control is used to store a value that needs to be persisted across posts to the server. It is rendered as an <input type= "hidden"/>
element.
Normally view state, session state, and cookies are used to maintain the state of a Web Forms page. However, if these methods are disabled or are not available, you can use the HiddenField control to store state values.
To specify the value for a HiddenField control, use the Value property. You can provide a routine that gets called every time the value of the HiddenField control changes between posts to the server by creating an event handler for the ValueChanged event.
最新文章
- linux-磁盘空间(du-df)
- JSON数据解析(GSON方式) (转)
- 【转】PowerShell入门(二):PowerShell是Cmd命令行的加强版吗?
- Windows XP SP3下编译安装openssl-1.1.0b
- (4)Redis 资料
- 关于Android4.x系统默认显示方向各种修改
- linux 声音大小调整的命令
- referer报头
- 打破C++ Const 的规则
- Linux 安装依赖库
- EasyUI 冻结列
- 理解Go Context机制
- Sqlserver直接附加数据库和设置sa密码
- Python 进行查询日志查询条件分析
- Javascript 原生Cookie使用用法
- Windows操作系统上各种服务使用的端口号, 以及它们使用的协议的列表
- 使用eclipse从github导入maven项目
- Objective-C中的KVC与KVO(上)
- WPF实现夜间模式
- vue的递归组件以及三级菜单的制作
热门文章
- 前端页面多级联动传输数据类型问题(数组or字符串)后端处理
- leetcode 1282. Group the People Given the Group Size They Belong To
- calc,support,media各自的含义及用法
- 8.支撑向量机SVM
- c++ 实时通信系统(基础知识TCP/IP篇)
- SQL SERVER 2012安装配置说明(多图详解)
- TP5 中的redis 队列
- 【小知识】比较 x^y 和 y^x 的大小
- 文件操作相关函数(POSIX 标准 open,read,write,lseek,close)
- zabbix的简单操作(自动发现)