📄 x2design.getvalidateimgmethods.html
字号:
声明一个值,该值在页呈现时声明为 ECMAScript 数组声明。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterClientScriptBlockTopic.htm">RegisterClientScriptBlock</a> (从 <b>Page</b> 继承)</td><td width="50%">
允许 ASP.NET 服务器控件在 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassTopic.htm">Page</a> 中发出客户端脚本块。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterHiddenFieldTopic.htm">RegisterHiddenField</a> (从 <b>Page</b> 继承)</td><td width="50%">
使服务器控件能够在窗体上自动注册隐藏字段。呈现 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIHtmlControlsHtmlFormClassTopic.htm">HtmlForm</a> 服务器控件时,将该字段发送到 <b>Page</b>。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterOnSubmitStatementTopic.htm">RegisterOnSubmitStatement</a> (从 <b>Page</b> 继承)</td><td width="50%">
使页能够访问客户端 <b>OnSubmit</b> 事件。脚本应该是注册在其他地方的对客户端代码的函数调用。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterRequiresPostBackTopic.htm">RegisterRequiresPostBack</a> (从 <b>Page</b> 继承)</td><td width="50%">
将控件注册为需要回发处理的控件。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterRequiresRaiseEventTopic.htm">RegisterRequiresRaiseEvent</a> (从 <b>Page</b> 继承)</td><td width="50%">
将 ASP.NET 服务器控件注册为需要在 <b>Page</b> 上处理控件时引发事件的控件。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterStartupScriptTopic.htm">RegisterStartupScript</a> (从 <b>Page</b> 继承)</td><td width="50%">
允许 ASP.NET 服务器控件在 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassTopic.htm">Page</a> 中发出客户端脚本块。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassRegisterViewStateHandlerTopic.htm">RegisterViewStateHandler</a> (从 <b>Page</b> 继承)</td><td width="50%">
如果调用,则保持页视图状态。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassRenderControlTopic.htm">RenderControl</a> (从 <b>Control</b> 继承)</td><td width="50%">
将服务器控件的内容输出到所提供的 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIHtmlTextWriterClassTopic.htm">HtmlTextWriter</a> 对象中;如果已启用跟踪功能,则存储有关控件的跟踪信息。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassResolveUrlTopic.htm">ResolveUrl</a> (从 <b>Control</b> 继承)</td><td width="50%">
将 URL 转换为在请求客户端可用的 URL。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassSetRenderMethodDelegateTopic.htm">SetRenderMethodDelegate</a> (从 <b>Control</b> 继承)</td><td width="50%"> </td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemObjectClassToStringTopic.htm">ToString</a> (从 <b>Object</b> 继承)</td><td width="50%">
返回表示当前 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> 的 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemStringClassTopic.htm">String</a>。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassValidateTopic.htm">Validate</a> (从 <b>Page</b> 继承)</td><td width="50%">
指示该页上包含的所有验证控件验证指派给它们的信息。
</td></tr><tr VALIGN="top"><td width="50%"><img src="pubmethod.gif" title="公共方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassVerifyRenderingInServerFormTopic.htm">VerifyRenderingInServerForm</a> (从 <b>Page</b> 继承)</td><td width="50%">
确认在运行时为指定的 ASP.NET 服务器控件呈现 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIHtmlControlsHtmlFormClassTopic.htm">HtmlForm</a> 控件。
</td></tr></table>
</div>
<h4 class="dtH4">受保护的实例方法</h4>
<div class="tablediv">
<table class="dtTABLE" cellspacing="0"><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassAddParsedSubObjectTopic.htm">AddParsedSubObject</a> (从 <b>Control</b> 继承)</td><td width="50%">
通知服务器控件某个元素(XML 或 HTML)已经过语法分析,并将该元素添加到服务器控件的 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlCollectionClassTopic.htm">ControlCollection</a> 对象。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassAspCompatBeginProcessRequestTopic.htm">AspCompatBeginProcessRequest</a> (从 <b>Page</b> 继承)</td><td width="50%"> </td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassAspCompatEndProcessRequestTopic.htm">AspCompatEndProcessRequest</a> (从 <b>Page</b> 继承)</td><td width="50%"> </td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassBuildProfileTreeTopic.htm">BuildProfileTree</a> (从 <b>Control</b> 继承)</td><td width="50%"> </td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassClearChildViewStateTopic.htm">ClearChildViewState</a> (从 <b>Control</b> 继承)</td><td width="50%">
删除服务器控件的所有子控件的视图状态信息。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUITemplateControlClassConstructTopic.htm">Construct</a> (从 <b>TemplateControl</b> 继承)</td><td width="50%">
执行构造时逻辑。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassCreateChildControlsTopic.htm">CreateChildControls</a> (从 <b>Control</b> 继承)</td><td width="50%">
通知使用基于合成的实现的服务器控件创建它们包含的任何子控件,以便为回发或呈现做准备。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassCreateControlCollectionTopic.htm">CreateControlCollection</a> (从 <b>Control</b> 继承)</td><td width="50%">
创建一个新的 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlCollectionClassTopic.htm">ControlCollection</a> 对象来保存服务器控件的子控件(包括文本控件和服务器控件)。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassCreateHtmlTextWriterTopic.htm">CreateHtmlTextWriter</a> (从 <b>Page</b> 继承)</td><td width="50%">
创建 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIHtmlTextWriterClassTopic.htm">HtmlTextWriter</a> 对象以呈现该页的内容。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUITemplateControlClassCreateResourceBasedLiteralControlTopic.htm">CreateResourceBasedLiteralControl</a> (从 <b>TemplateControl</b> 继承)</td><td width="50%"> </td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassDeterminePostBackModeTopic.htm">DeterminePostBackMode</a> (从 <b>Page</b> 继承)</td><td width="50%">
确定对 <b>Page</b> 类发出的请求的类型。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassEnsureChildControlsTopic.htm">EnsureChildControls</a> (从 <b>Control</b> 继承)</td><td width="50%">
确定服务器控件是否包含子控件。如果不包含,则创建子控件。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemObjectClassFinalizeTopic.htm">Finalize</a> (从 <b>Object</b> 继承)</td><td width="50%">
允许 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemObjectClassTopic.htm">Object</a> 在“垃圾回收”回收 <b>Object</b> 之前尝试释放资源并执行其他清理操作。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassFindControlTopic.htm">FindControl</a> (从 <b>Control</b> 继承)</td><td width="50%">已重载。 </td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUITemplateControlClassFrameworkInitializeTopic.htm">FrameworkInitialize</a> (从 <b>TemplateControl</b> 继承)</td><td width="50%"> </td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassInitOutputCacheTopic.htm">InitOutputCache</a> (从 <b>Page</b> 继承)</td><td width="50%">
初始化当前页请求的输出缓存。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassIsLiteralContentTopic.htm">IsLiteralContent</a> (从 <b>Control</b> 继承)</td><td width="50%">
确定服务器控件是否只包含文字内容。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassLoadPageStateFromPersistenceMediumTopic.htm">LoadPageStateFromPersistenceMedium</a> (从 <b>Page</b> 继承)</td><td width="50%">
将所有保存的视图状态信息加载到 <a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIPageClassTopic.htm">Page</a> 对象。如果要将 <b>Page</b> 视图状态信息加载到任何除隐藏字段以外的任何对象中,请重写该方法。
</td></tr><tr VALIGN="top"><td width="50%"><img src="protmethod.gif" title="受保护的方法"></img><a href="ms-help://MS.NETFrameworkSDKv1.1.CHS/cpref/html/frlrfSystemWebUIControlClassLoadViewStateTopic.htm">LoadViewState</a> (从 <b>Control</b> 继承)</td><td width="50%">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -