当前位置: 首页>>代码示例>>C#>>正文


C# WebControls.PagePropertiesChangingEventArgs类代码示例

本文整理汇总了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();
 }
开发者ID:sanphandinh,项目名称:BTL_CSDL,代码行数:7,代码来源:quanly-caythuoc.aspx.cs

示例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;
    }
开发者ID:Wynnah,项目名称:ASP.NET,代码行数:29,代码来源:Solutions.aspx.cs

示例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();
        }
开发者ID:lchambaka,项目名称:WorkPad,代码行数:8,代码来源:EditVideoMain.aspx.cs

示例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"]);
        }
开发者ID:MhdNZ,项目名称:MenStore,代码行数:8,代码来源:Search.aspx.cs

示例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();
        }
开发者ID:Mwiku,项目名称:Mkuluinc,代码行数:8,代码来源:Computers.aspx.cs

示例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();
 }
开发者ID:Pay-it-Forward-Telerik-Academy,项目名称:PayItForward,代码行数:9,代码来源:Index.aspx.cs

示例7: listaarticoli_PagePropertiesChanging

       public void listaarticoli_PagePropertiesChanging(object o, PagePropertiesChangingEventArgs e)
        {

            datapager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);

            //rebind List View
            showPreviewArticoli();

        }
开发者ID:simplestecommerce,项目名称:githubsimplestecommerce,代码行数:9,代码来源:preview.aspx.cs

示例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();
     }
 }
开发者ID:joyang1,项目名称:Aspose_Words_NET,代码行数:9,代码来源:Default.aspx.cs

示例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();
     }
 }
开发者ID:thegrassjelly,项目名称:Lifeline-CRM,代码行数:12,代码来源:PaymentsHistory.aspx.cs

示例10: ItemList_PagePropertiesChanging

 protected void ItemList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
 {
     (ItemList.FindControl("ItemsPager") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
     BindData();
 }
开发者ID:Nalopotato,项目名称:D2Items,代码行数:5,代码来源:Home.aspx.cs

示例11: NewList_PagePropertiesChanging

 protected void NewList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
 {
     this.ArticlePager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
     BindData();
 }
开发者ID:jon-mcmr,项目名称:Virgin-Tds,代码行数:5,代码来源:ClubWhatsNew.ascx.cs

示例12: lvDepartment_PagePropertiesChanging

		protected void lvDepartment_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
        {
            Session["DepartmentCurrentPage"] = e.StartRowIndex;
        }
开发者ID:jbwilliamson,项目名称:MaximiseWFScaffolding,代码行数:4,代码来源:Default.aspx.cs

示例13: lvTestimonial_PagePropertiesChanging

 protected void lvTestimonial_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
 {
     (lvTestimonial.FindControl("dpTestimonial") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
     this.ShowTestimonials();
 }
开发者ID:shreykejriwal,项目名称:insta,代码行数:5,代码来源:testimonials-india-20150226.aspx.cs

示例14: lvUserList_PagePropertiesChanging

        protected void lvUserList_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
        {
            lvQuestList.EditIndex = -1;
            this.MyQuestDataPager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);

            bindLVQuest();
            recalcNoOfPages();

        }
开发者ID:amishmehta21,项目名称:hello-amish,代码行数:9,代码来源:QA_MyQuestions.aspx.cs

示例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();
 }
开发者ID:san93st,项目名称:Cay_Thuoc_VN,代码行数:5,代码来源:index.aspx.cs


注:本文中的System.Web.UI.WebControls.PagePropertiesChangingEventArgs类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。