Class ReorderList

Inheritance
System.Object
ReorderList
Implements
System.Web.UI.WebControls.IRepeatInfoUser
System.Web.UI.INamingContainer
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
Namespace: AjaxControlToolkit
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
Syntax
public class ReorderList : CompositeDataBoundControl, IRepeatInfoUser, INamingContainer, ICallbackEventHandler, IPostBackEventHandler

Constructors

ReorderList()

Declaration
public ReorderList()

Properties

AllowReorder

Declaration
public bool AllowReorder { get; set; }
Property Value
Type Description
System.Boolean

CallbackCssStyle

Declaration
public string CallbackCssStyle { get; set; }
Property Value
Type Description
System.String

DataKeyField

Declaration
public string DataKeyField { get; set; }
Property Value
Type Description
System.String

DataKeys

Declaration
public DataKeyCollection DataKeys { get; }
Property Value
Type Description
System.Web.UI.WebControls.DataKeyCollection

DataKeysArray

Declaration
protected ArrayList DataKeysArray { get; }
Property Value
Type Description
System.Collections.ArrayList

DataSourceID

Declaration
public override string DataSourceID { get; set; }
Property Value
Type Description
System.String

DragHandleAlignment

Declaration
public ReorderHandleAlignment DragHandleAlignment { get; set; }
Property Value
Type Description
ReorderHandleAlignment

DragHandleTemplate

Declaration
public ITemplate DragHandleTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

EditItemIndex

Declaration
public int EditItemIndex { get; set; }
Property Value
Type Description
System.Int32

EditItemTemplate

Declaration
public ITemplate EditItemTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

EmptyListTemplate

Declaration
public ITemplate EmptyListTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

HasFooter

Declaration
public bool HasFooter { get; }
Property Value
Type Description
System.Boolean

HasHeader

Declaration
public bool HasHeader { get; }
Property Value
Type Description
System.Boolean

HasSeparators

Declaration
public bool HasSeparators { get; }
Property Value
Type Description
System.Boolean

InsertItemTemplate

Declaration
public ITemplate InsertItemTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

ItemInsertLocation

Declaration
public ReorderListInsertLocation ItemInsertLocation { get; set; }
Property Value
Type Description
ReorderListInsertLocation

Items

Declaration
public ReorderListItemCollection Items { get; }
Property Value
Type Description
ReorderListItemCollection

ItemTemplate

Declaration
public ITemplate ItemTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

LayoutType

Declaration
public ReorderListItemLayoutType LayoutType { get; set; }
Property Value
Type Description
ReorderListItemLayoutType

PostBackOnReorder

Declaration
public bool PostBackOnReorder { get; set; }
Property Value
Type Description
System.Boolean

ReorderTemplate

Declaration
public ITemplate ReorderTemplate { get; set; }
Property Value
Type Description
System.Web.UI.ITemplate

RepeatedItemCount

Declaration
public int RepeatedItemCount { get; }
Property Value
Type Description
System.Int32

ShowInsertItem

Declaration
public bool ShowInsertItem { get; set; }
Property Value
Type Description
System.Boolean

SortOrderField

Declaration
public string SortOrderField { get; set; }
Property Value
Type Description
System.String

TagKey

Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type Description
System.Web.UI.HtmlTextWriterTag

Methods

CreateChildControls(IEnumerable, Boolean)

Declaration
protected override int CreateChildControls(IEnumerable dataSource, bool dataBinding)
Parameters
Type Name Description
System.Collections.IEnumerable dataSource
System.Boolean dataBinding
Returns
Type Description
System.Int32

CreateDragHandle(ReorderListItem)

Declaration
protected virtual void CreateDragHandle(ReorderListItem item)
Parameters
Type Name Description
ReorderListItem item

CreateInsertItem(Int32)

Declaration
protected virtual ReorderListItem CreateInsertItem(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
ReorderListItem

CreateItem(Int32, Boolean, Object, ListItemType, Boolean)

Declaration
protected virtual ReorderListItem CreateItem(int index, bool dataBind, object dataItem, ListItemType itemType, bool hasDragHandle)
Parameters
Type Name Description
System.Int32 index
System.Boolean dataBind
System.Object dataItem
System.Web.UI.WebControls.ListItemType itemType
System.Boolean hasDragHandle
Returns
Type Description
ReorderListItem

DoReorder(Int32, Int32)

Declaration
protected virtual bool DoReorder(int oldIndex, int newIndex)
Parameters
Type Name Description
System.Int32 oldIndex
System.Int32 newIndex
Returns
Type Description
System.Boolean

GetDropTemplateControl(out Control, out Control)

Declaration
protected WebControl GetDropTemplateControl(out Control dropItem, out Control emptyItem)
Parameters
Type Name Description
System.Web.UI.Control dropItem
System.Web.UI.Control emptyItem
Returns
Type Description
System.Web.UI.WebControls.WebControl

GetItemStyle(ListItemType, Int32)

Declaration
public Style GetItemStyle(ListItemType itemType, int repeatIndex)
Parameters
Type Name Description
System.Web.UI.WebControls.ListItemType itemType
System.Int32 repeatIndex
Returns
Type Description
System.Web.UI.WebControls.Style

GetPropertyValue<V>(String, V)

Declaration
protected V GetPropertyValue<V>(string propertyName, V nullValue)
Parameters
Type Name Description
System.String propertyName
V nullValue
Returns
Type Description
V
Type Parameters
Name Description
V

Invoke(Object, EventArgs)

Declaration
protected void Invoke(object key, EventArgs e)
Parameters
Type Name Description
System.Object key
System.EventArgs e

OnBubbleEvent(Object, EventArgs)

Declaration
protected override bool OnBubbleEvent(object source, EventArgs args)
Parameters
Type Name Description
System.Object source
System.EventArgs args
Returns
Type Description
System.Boolean

OnCancelCommand(EventArgs)

Declaration
protected virtual void OnCancelCommand(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnDeleteCommand(EventArgs)

Declaration
protected virtual void OnDeleteCommand(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnEditCommand(EventArgs)

Declaration
protected virtual void OnEditCommand(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnInsertCommand(EventArgs)

Declaration
protected virtual void OnInsertCommand(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnItemCommand(EventArgs)

Declaration
protected virtual void OnItemCommand(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnItemCreated(EventArgs)

Declaration
protected virtual void OnItemCreated(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnItemDataBound(EventArgs)

Declaration
protected virtual void OnItemDataBound(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnItemReorder(ReorderListItemReorderEventArgs)

Declaration
protected virtual void OnItemReorder(ReorderListItemReorderEventArgs e)
Parameters
Type Name Description
ReorderListItemReorderEventArgs e

OnPreRender(EventArgs)

Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

OnUpdateCommand(EventArgs)

Declaration
protected virtual void OnUpdateCommand(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

PerformDataBinding(IEnumerable)

Declaration
protected override void PerformDataBinding(IEnumerable data)
Parameters
Type Name Description
System.Collections.IEnumerable data

RaisePostBackEvent(String)

Declaration
protected void RaisePostBackEvent(string eventArgument)
Parameters
Type Name Description
System.String eventArgument

RenderContents(HtmlTextWriter)

Declaration
protected override void RenderContents(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderItem(ListItemType, Int32, RepeatInfo, HtmlTextWriter)

Declaration
public void RenderItem(ListItemType itemType, int repeatIndex, RepeatInfo repeatInfo, HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.WebControls.ListItemType itemType
System.Int32 repeatIndex
System.Web.UI.WebControls.RepeatInfo repeatInfo
System.Web.UI.HtmlTextWriter writer

SetPropertyValue<V>(String, V)

Declaration
protected void SetPropertyValue<V>(string propertyName, V value)
Parameters
Type Name Description
System.String propertyName
V value
Type Parameters
Name Description
V

UpdateItem(Int32)

Declaration
public void UpdateItem(int rowIndex)
Parameters
Type Name Description
System.Int32 rowIndex

Events

CancelCommand

Declaration
public event EventHandler<ReorderListCommandEventArgs> CancelCommand
Event Type
Type Description
System.EventHandler<ReorderListCommandEventArgs>

DeleteCommand

Declaration
public event EventHandler<ReorderListCommandEventArgs> DeleteCommand
Event Type
Type Description
System.EventHandler<ReorderListCommandEventArgs>

EditCommand

Declaration
public event EventHandler<ReorderListCommandEventArgs> EditCommand
Event Type
Type Description
System.EventHandler<ReorderListCommandEventArgs>

InsertCommand

Declaration
public event EventHandler<ReorderListCommandEventArgs> InsertCommand
Event Type
Type Description
System.EventHandler<ReorderListCommandEventArgs>

ItemCommand

Declaration
public event EventHandler<ReorderListCommandEventArgs> ItemCommand
Event Type
Type Description
System.EventHandler<ReorderListCommandEventArgs>

ItemCreated

Declaration
public event EventHandler<ReorderListItemEventArgs> ItemCreated
Event Type
Type Description
System.EventHandler<ReorderListItemEventArgs>

ItemDataBound

Declaration
public event EventHandler<ReorderListItemEventArgs> ItemDataBound
Event Type
Type Description
System.EventHandler<ReorderListItemEventArgs>

ItemReorder

Declaration
public event EventHandler<ReorderListItemReorderEventArgs> ItemReorder
Event Type
Type Description
System.EventHandler<ReorderListItemReorderEventArgs>

UpdateCommand

Declaration
public event EventHandler<ReorderListCommandEventArgs> UpdateCommand
Event Type
Type Description
System.EventHandler<ReorderListCommandEventArgs>

Implements

System.Web.UI.WebControls.IRepeatInfoUser
System.Web.UI.INamingContainer
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler