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.

最新文章

  1. linux-磁盘空间(du-df)
  2. JSON数据解析(GSON方式) (转)
  3. 【转】PowerShell入门(二):PowerShell是Cmd命令行的加强版吗?
  4. Windows XP SP3下编译安装openssl-1.1.0b
  5. (4)Redis 资料
  6. 关于Android4.x系统默认显示方向各种修改
  7. linux 声音大小调整的命令
  8. referer报头
  9. 打破C++ Const 的规则
  10. Linux 安装依赖库
  11. EasyUI 冻结列
  12. 理解Go Context机制
  13. Sqlserver直接附加数据库和设置sa密码
  14. Python 进行查询日志查询条件分析
  15. Javascript 原生Cookie使用用法
  16. Windows操作系统上各种服务使用的端口号, 以及它们使用的协议的列表
  17. 使用eclipse从github导入maven项目
  18. Objective-C中的KVC与KVO(上)
  19. WPF实现夜间模式
  20. vue的递归组件以及三级菜单的制作

热门文章

  1. 前端页面多级联动传输数据类型问题(数组or字符串)后端处理
  2. leetcode 1282. Group the People Given the Group Size They Belong To
  3. calc,support,media各自的含义及用法
  4. 8.支撑向量机SVM
  5. c++ 实时通信系统(基础知识TCP/IP篇)
  6. SQL SERVER 2012安装配置说明(多图详解)
  7. TP5 中的redis 队列
  8. 【小知识】比较 x^y 和 y^x 的大小
  9. 文件操作相关函数(POSIX 标准 open,read,write,lseek,close)
  10. zabbix的简单操作(自动发现)