惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
人人都是产品经理
人人都是产品经理
博客园 - 聂微东
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
博客园 - Franky
V
V2EX
Y
Y Combinator Blog
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
T
The Blog of Author Tim Ferriss
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Jina AI
Jina AI
博客园 - 叶小钗
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
A
About on SuperTechFans
M
MIT News - Artificial intelligence
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
D
Docker
博客园 - 【当耐特】
阮一峰的网络日志
阮一峰的网络日志

博客园 - 改变热爱

User Controls HTML Controls[15]->HtmltextArea HTML Controls[14]->HtmlTable , HtmlTableRow , and HtmlTableCell HTML Controls[12]->HtmlInputText HTML Controls[13]->HtmlSelect HTML Controls[11]->HtmlInputRadioButton HTML Controls[10]->HtmlInputImage HTML Controls[7]->HtmlInputCheckBox HTML Controls[8]->HtmlInputFile HTML Controls[6]->HtmlInputButton HTML Controls[5]->HtmlImage HTML Controls[4]->HtmlGeneric HTML Controls[3]->HtmlForm HTML Controls[2]->HtmlButton - 改变热爱 - 博客园 HTML Controls[1]->HtmlAnchor HTML Controls WebParts Controls[13]->ConnectionZone WebParts Controls[11]->LayoutEditorPart WebParts Controls[12]->PropertyGridEditorPart
HTML Controls[9]->HtmlInputHidden
改变热爱 · 2007-05-14 · via 博客园 - 改变热爱

You can use hidden controls within HTML forms to embed non-visible information that will be sent back to the server the next time a user performs a postback. This technique is commonly used to persist session-dependent information without using cookies or session state. The Web Forms framework uses this feature of HTML to automatically store and restore the view state of ASP.NET server controls across round trips to the server.

The following sample illustrates using the HtmlInputHidden control.

C# HtmlInputHidden1.aspx
Run Sample View Source