Hi everyone, is there an asp.net server control that doesn’t appear on the html page? for example, <asp: TextBox runat ="server" id="Textbox1"><asp:/TextBox>displayed as <input type="Text" id="textbox1"/>? I think you will understand my question?
<asp: TextBox runat ="server" id="Textbox1"><asp:/TextBox>
<input type="Text" id="textbox1"/>
The Literal control is not displayed unless something is added to the Text property, in which case only the contents of the Text property are displayed. Similarly, a Placeholder control displays the controls hosted in its Controls collection.
<asp:Literal ID="literal1" runat="server" /> <asp:PlaceHolder ID="placeholder1" runat="server" />
, WebControl, . , , , , , Render.
WebControl
Render
, Render , , .
Literal PlaceHolder , .
Literal
PlaceHolder
.
, , , , <asp:HiddenField />?
<asp:HiddenField />
<asp:placeholder>.
<asp:placeholder>
<asp:panel> div, , html
<asp:panel>
Source: https://habr.com/ru/post/1762814/More articles:Is EJB3 displayed? whose possession is the mapping OR? - javaIIS restart in file changed - web-configLinux: how to set the time zone of a process? - command-lineThe lack of third-party libraries that prevent the use of Scala? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1762813/converting-array-of-objects-to-array-of-arrays&usg=ALkJrhjsEqlbuIr7jgKWBHm6CVlEG2l57Qпочему мы используем исправление кода в asp.net? - asp.netIs it possible to use C # FtpWebRequest through an FTP proxy? - c #ejabberd: installed, users working added, but ejabberdctl not working - erlangjavascript add event listener anytime and remove event listener anytime - javascript-eventsjquery simplemodal plugin: a popup that scrolls from the page - scrollAll Articles