HtmlForm.RenderChildren(HtmlTextWriter) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Renders the child controls of the HtmlForm control.
protected:
override void RenderChildren(System::Web::UI::HtmlTextWriter ^ writer);
protected public:
override void RenderChildren(System::Web::UI::HtmlTextWriter ^ writer);
protected override void RenderChildren (System.Web.UI.HtmlTextWriter writer);
protected internal override void RenderChildren (System.Web.UI.HtmlTextWriter writer);
override this.RenderChildren : System.Web.UI.HtmlTextWriter -> unit
Protected Overrides Sub RenderChildren (writer As HtmlTextWriter)
Protected Friend Overrides Sub RenderChildren (writer As HtmlTextWriter)
Parameters
- writer
- HtmlTextWriter
The HtmlTextWriter that receives the rendered content.
Exceptions
The Web page has more than one server-side <form>
tag.
Remarks
The RenderChildren method renders client script to ensure that the browser focus is set to the control specified in the DefaultFocus property.
Note
A control specified by the Page.SetFocus property takes precedence over a control specified by the DefaultFocus property.
Notes to Inheritors
When overriding the RenderChildren(HtmlTextWriter) method in a derived class, be sure to call the base class's RenderChildren(HtmlTextWriter) method so that the HtmlForm control's child controls are correctly rendered.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기