Name
BaseDataListDesigner
Synopsis
This abstract class provides basic functionality for the DataListDesigner
and DataGridDesigner
classes. This
includes functionality for styles, additional verbs for the context menu, and
other helper methods for data binding.
Public MustInherit Class BaseDataListDesigner : Inherits_ System.Web.UI.Design.TemplatedControlDesigner : Implements_ System.Web.UI.Design.IDataSourceProvider ' Public Constructors Public Sub New() ' Public Instance Properties Public Property DataKeyField As String Public Property DataMember As String Public Property DataSource As String Overrides Public ReadOnly Property DesignTimeHtmlRequiresLoadComplete As Boolean Overrides Public ReadOnly Property Verbs As DesignerVerbCollection ' Public Instance Methods Public Function GetResolvedSelectedDataSource( ) As IEnumerable Implements IDataSourceProvider.GetResolvedSelectedDataSource Public Function GetSelectedDataSource( ) As Object Implements IDataSourceProvider.GetSelectedDataSource Overrides Public Function GetTemplateContainerDataSource( ByVal templateName As String) As IEnumerable Overrides Public Sub Initialize( ByVal component As System.ComponentModel.IComponent) Overrides Public Sub OnComponentChanged( ByVal sender As Object, ByVal e As System.ComponentModel.Design.ComponentChangedEventArgs) ' Protected Instance Methods Overrides Protected Sub Dispose(ByVal disposing As Boolean) Protected Function GetDesignTimeDataSource( ByVal selectedDataSource As System.Collections.IEnumerable, ...
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.