本文整理汇总了C#中System.Web.UI.WebControls.PagePropertiesChangingEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# PagePropertiesChangingEventArgs类的具体用法?C# PagePropertiesChangingEventArgs怎么用?C# PagePropertiesChangingEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
PagePropertiesChangingEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了PagePropertiesChangingEventArgs类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: lv_caythuoc_PagePropertiesChanging
protected void lv_caythuoc_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
(lv_caythuoc.FindControl("datapager1") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
//if(drHoCayThuoc.)
// loadCayThuoc();// Sử dụng để load lại dữ liệu cho ListView sau khi chuyển trang khác
loadCayThuocTheoMaHo();
}
示例2: dpNextPrevious_PagePropertiesChanging
protected void dpNextPrevious_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
int startRow = e.StartRowIndex;
if (this.Run)
{
// Reset the start row so all rows are returned. This is needed when the user
// clicks on view all records.
startRow = 0;
}
// Re-bind
dpNextPrevious1.SetPageProperties(startRow, e.MaximumRows, false);
dpNextPrevious2.SetPageProperties(startRow, e.MaximumRows, false);
con = new SqlConnection(ConfigurationManager.ConnectionStrings[dbConnStr].ConnectionString);
con.Open();
dataView = new DataView();
dataView = reportTable.DefaultView;
dataView.Sort = string.Format("{0} {1}", sortExpression, sortOrder);
con.Close();
lvSolutions.DataSource = dataView;
lvSolutions.DataBind();
ViewState["dataTable"] = reportTable;
}
示例3: lstMediaGroups_PagePropertiesChanging
protected void lstMediaGroups_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
//set current page startindex, max rows and rebind to false
lvDataPager1.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
//rebind List View
BindData();
}
示例4: productList_PagePropertiesChanging
protected void productList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
//set current page startindex, max rows and rebind to false
ProductDataPager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
//rebind List View
GetProducts(Request.QueryString["search"]);
}
示例5: lvComputer_PagePropertiesChanging
protected void lvComputer_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
//set current page startindex, max rows and rebind to false
dpComputer.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
//rebind List View
// BindList();
}
示例6: OnPagePropertiesChanging
protected void OnPagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
(lvStories.FindControl("DataPager1") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
SortType.Value = SortType.Value;
var Qstories = SetSortByType(SortType.Value);
var stories = CheckForCategoryAndMakeSelection(Qstories);
this.lvStories.DataSource = stories.ToList();
this.lvStories.DataBind();
}
示例7: listaarticoli_PagePropertiesChanging
public void listaarticoli_PagePropertiesChanging(object o, PagePropertiesChangingEventArgs e)
{
datapager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
//rebind List View
showPreviewArticoli();
}
示例8: ExportListViewToWord1_PagePropertiesChanging
protected void ExportListViewToWord1_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
DataPager objDataPager1 = (DataPager)ExportListViewToWord1.FindControl("DataPager1");
if (objDataPager1 != null)
{
objDataPager1.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
BindListView();
}
}
示例9: lv_PagePropertiesChanging
protected void lv_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
lvDataPager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
if (ddlDirection.SelectedValue != "" && ddlSortBy.SelectedValue != "")
{
SortPayments(ddlSortBy.SelectedValue, ddlDirection.SelectedValue);
}
else
{
GetPaymentHistory();
}
}
示例10: ItemList_PagePropertiesChanging
protected void ItemList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
(ItemList.FindControl("ItemsPager") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
BindData();
}
示例11: NewList_PagePropertiesChanging
protected void NewList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
this.ArticlePager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
BindData();
}
示例12: lvDepartment_PagePropertiesChanging
protected void lvDepartment_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
Session["DepartmentCurrentPage"] = e.StartRowIndex;
}
示例13: lvTestimonial_PagePropertiesChanging
protected void lvTestimonial_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
(lvTestimonial.FindControl("dpTestimonial") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
this.ShowTestimonials();
}
示例14: lvUserList_PagePropertiesChanging
protected void lvUserList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
lvQuestList.EditIndex = -1;
this.MyQuestDataPager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
bindLVQuest();
recalcNoOfPages();
}
示例15: lv_danhsachcaythuoc_PagePropertiesChanging
protected void lv_danhsachcaythuoc_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
{
(lv_danhsachcaythuoc.FindControl("datapager1") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
loadCayThuoc();
}