void ReorderList4_ItemReorder(object sender, AjaxControlToolkit.ReorderListItemReorderEventArgs e) { DataTable table = ((DataView)((AjaxControlToolkit.ReorderList)sender).DataSource).Table; ViewState["DT"] = table; ReorderList4.DataBind(); }
protected void Page_Load(object sender, EventArgs e) { ReorderList2.DataSource = SimpleDataSource; ReorderList2.DataBind(); ReorderList3.DataSource = IListDataSource; ReorderList3.DataBind(); DataView dv = Table.DefaultView; dv.Sort = "Sort ASC"; ReorderList4.DataSource = dv; ReorderList4.DataBind(); }