Class ReorderList
Inheritance
System.Object
ReorderList
Implements
System.Web.UI.WebControls.IRepeatInfoUser
System.Web.UI.INamingContainer
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler
Assembly: AjaxControlToolkit.dll
Version: 13.30.0
public class ReorderList : CompositeDataBoundControl, IRepeatInfoUser, INamingContainer, ICallbackEventHandler, IPostBackEventHandler
Constructors
Declaration
Properties
Declaration
public bool AllowReorder { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string CallbackCssStyle { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public string DataKeyField { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public DataKeyCollection DataKeys { get; }
Property Value
Type |
Description |
System.Web.UI.WebControls.DataKeyCollection |
|
Declaration
protected ArrayList DataKeysArray { get; }
Property Value
Type |
Description |
System.Collections.ArrayList |
|
Declaration
public override string DataSourceID { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public ReorderHandleAlignment DragHandleAlignment { get; set; }
Property Value
Declaration
public ITemplate DragHandleTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
public int EditItemIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public ITemplate EditItemTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
public ITemplate EmptyListTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
public bool HasFooter { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool HasHeader { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public bool HasSeparators { get; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public ITemplate InsertItemTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
public ReorderListInsertLocation ItemInsertLocation { get; set; }
Property Value
Declaration
public ReorderListItemCollection Items { get; }
Property Value
Declaration
public ITemplate ItemTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
public ReorderListItemLayoutType LayoutType { get; set; }
Property Value
PostBackOnReorder
Declaration
public bool PostBackOnReorder { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public ITemplate ReorderTemplate { get; set; }
Property Value
Type |
Description |
System.Web.UI.ITemplate |
|
Declaration
public int RepeatedItemCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
public bool ShowInsertItem { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Declaration
public string SortOrderField { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override HtmlTextWriterTag TagKey { get; }
Property Value
Type |
Description |
System.Web.UI.HtmlTextWriterTag |
|
Methods
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 |
|
Declaration
protected virtual void CreateDragHandle(ReorderListItem item)
Parameters
Declaration
protected virtual ReorderListItem CreateInsertItem(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
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
Declaration
protected virtual bool DoReorder(int oldIndex, int newIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
oldIndex |
|
System.Int32 |
newIndex |
|
Returns
Type |
Description |
System.Boolean |
|
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 |
|
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 |
|
Declaration
protected V GetPropertyValue<V>(string propertyName, V nullValue)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
V |
nullValue |
|
Returns
Type Parameters
Declaration
protected void Invoke(object key, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
key |
|
System.EventArgs |
e |
|
Declaration
protected override bool OnBubbleEvent(object source, EventArgs args)
Parameters
Type |
Name |
Description |
System.Object |
source |
|
System.EventArgs |
args |
|
Returns
Type |
Description |
System.Boolean |
|
Declaration
protected virtual void OnCancelCommand(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnDeleteCommand(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnEditCommand(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnInsertCommand(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnItemCommand(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnItemCreated(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnItemDataBound(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnItemReorder(ReorderListItemReorderEventArgs e)
Parameters
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
Declaration
protected virtual void OnUpdateCommand(EventArgs e)
Parameters
Type |
Name |
Description |
System.EventArgs |
e |
|
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 |
|
Declaration
protected void SetPropertyValue<V>(string propertyName, V value)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
V |
value |
|
Type Parameters
Declaration
public void UpdateItem(int rowIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
rowIndex |
|
Events
Declaration
public event EventHandler<ReorderListCommandEventArgs> CancelCommand
Event Type
Declaration
public event EventHandler<ReorderListCommandEventArgs> DeleteCommand
Event Type
Declaration
public event EventHandler<ReorderListCommandEventArgs> EditCommand
Event Type
Declaration
public event EventHandler<ReorderListCommandEventArgs> InsertCommand
Event Type
Declaration
public event EventHandler<ReorderListCommandEventArgs> ItemCommand
Event Type
Declaration
public event EventHandler<ReorderListItemEventArgs> ItemCreated
Event Type
Declaration
public event EventHandler<ReorderListItemEventArgs> ItemDataBound
Event Type
Declaration
public event EventHandler<ReorderListItemReorderEventArgs> ItemReorder
Event Type
Declaration
public event EventHandler<ReorderListCommandEventArgs> UpdateCommand
Event Type
Implements
System.Web.UI.WebControls.IRepeatInfoUser
System.Web.UI.INamingContainer
System.Web.UI.ICallbackEventHandler
System.Web.UI.IPostBackEventHandler