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

推荐订阅源

博客园 - Franky
U
Unit 42
MyScale Blog
MyScale Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
量子位
IT之家
IT之家
The GitHub Blog
The GitHub Blog
F
Fortinet All Blogs
Recent Announcements
Recent Announcements
V
Visual Studio Blog
G
Google Developers Blog
Last Week in AI
Last Week in AI
雷峰网
雷峰网
博客园 - 聂微东
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
博客园 - 司徒正美
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏

博客园 - 改变热爱

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