Name
DataBoundLiteralControl
Synopsis
ASP.NET creates a DataBoundLiteralControl
for each data binding expression it finds on a page (such as <%# Container.DataItem("Name") %>
).
You do not need to create
this control directly.
Public NotInheritable Class DataBoundLiteralControl : Inherits Control ' Public Constructors Public Sub New(ByVal staticLiteralsCount As Integer, ByVal dataBoundLiteralCount As Integer) ' Public Instance Properties Public ReadOnly Property Text As String ' Public Instance Methods Public Sub SetDataBoundString(ByVal index As Integer, ByVal s As String) Public Sub SetStaticString(ByVal index As Integer, ByVal s As String) ' Protected Instance Methods Overrides Protected Function CreateControlCollection( ) As ControlCollection Overrides Protected Sub LoadViewState( ByVal savedState As Object) Overrides Protected Sub Render( ByVal output As HtmlTextWriter) Overrides Protected Function SaveViewState() As Object End Class
Hierarchy
System.Object→ Control(System.ComponentModel.IComponent
, System.IDisposable
, IParserAccessor
, IDataBindingsAccessor)→ DataBoundLiteralControl
Get ASP.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.