• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# WebControls.PagePropertiesChangingEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Web.UI.WebControls.PagePropertiesChangingEventArgs的典型用法代码示例。如果您正苦于以下问题:C# PagePropertiesChangingEventArgs类的具体用法?C# PagePropertiesChangingEventArgs怎么用?C# PagePropertiesChangingEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



PagePropertiesChangingEventArgs类属于System.Web.UI.WebControls命名空间,在下文中一共展示了PagePropertiesChangingEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: ListViewHomePage_PagePropertiesChanging

        protected void ListViewHomePage_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
        {
            LvHomePageItems.EditIndex = -1;
            this.HomePageDataPager.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);

            BindHomePageList();
            recalcNoOfPages();

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


示例17: listview_dalienhe_PagePropertiesChanging

 protected void listview_dalienhe_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
 {
     (ListView_ChuaLienHe.FindControl("datapager2") as DataPager).SetPageProperties(e.StartRowIndex, e.MaximumRows, false);
     loadData_LienHeDaXuLy();
 }
开发者ID:san93st,项目名称:Cay_Thuoc_VN,代码行数:5,代码来源:quanly-lienhe.aspx.cs


示例18: OnPagePropertiesChanging

		protected override void OnPagePropertiesChanging (PagePropertiesChangingEventArgs e)
		{
			RecordEvent ("Enter");
			base.OnPagePropertiesChanging (e);
			RecordEvent ("Leave");
		}
开发者ID:Profit0004,项目名称:mono,代码行数:6,代码来源:ListViewTest.cs


示例19: lvPerson_PagePropertiesChanging

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


示例20: lvFurniture_PagePropertiesChanging

        protected void lvFurniture_PagePropertiesChanging(object sender, PagePropertiesChangingEventArgs e)
        {
            //set current page startindex, max rows and rebind to false
            dpFurniture.SetPageProperties(e.StartRowIndex, e.MaximumRows, false);

        }
开发者ID:Mwiku,项目名称:Mkuluinc,代码行数:6,代码来源:Furniture.aspx.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# WebControls.PagedDataSource类代码示例发布时间:2022-05-26
下一篇:
C# WebControls.ObjectDataSourceStatusEventArgs类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap