iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi all,
I strongly recommend WebGrid provides PageChanged events. I bind the Grid in the first time, only bind the first page of data and total number of records. When changing the page number , the PageChanged events will be fired, bind the required data .
So that we can more freely use the WebGrid.
Look forward to your reply!!!
Thanks!
Hello,
Could you provide more detail information about the PageChanged event that you request to be added in WebGrid?
We have Paging feature in WebGrid that allows you to bind a dataset into WebGrid, and divide them into pages and execute each page using classic paging feature in WebGrid.
Could you be more specific in the scenario you want to achieve, so that I could transfer/report the feature request to the developer team, and we'll see whether it is possible to be implemented in the future or not.
Hope this helps.
Thank you.
Hi,
First sorry for my bad English.
We used Webdiyer AspNetPager with GridView, use DBPaging database procedure , to dynamically display a large amount of data. Now we buy your controls, if we use LoadOnDemand mode, you must bind the DataSource, It's so difficult to upgrade our system, And flexible enough. If you can provide similar Webdiyer AspNetPager's PageChanged events, then our system's upgrade will be very simple.
Of course, if use this mode, then the Sort and Filter the grid, also need to provide events to allow us to achieve sort or retrieve data. If WebGrid can provide OnSort and OnFilter event, it would be perfect.
thanks.
Here is the old code in our system.
<webdiyer:AspNetPager ID="Pager" runat="server" PageSize="15" NavigationButtonType="Image" PagingButtonType="Image" OnPageChanged="Pager_PageChanged" ImagePath="../../Images/page/" CpiButtonImageNameExtension="r" DisabledButtonImageNameExtension="g" ButtonImageNameExtension="n" ShowCustomInfoSection="Left" InputBoxClass="inputtxt" SubmitButtonClass="backendbtn22" AlwaysShow="True"> </webdiyer:AspNetPager>
protected void BindGrid() { int TotalNum = 0; string HandleType = "";// dropType.SelectedItem.Value; DataView Dv = Msg.WaitHandle_PageView( this.UserGuid, this.JobLst, 0, DateFromTo.FromValue, DateFromTo.ToValue, txtTitle.Text, "办理", HandleType, "Messages_Center", "", "", Pager.PageSize, Pager.CurrentPageIndex, "", txtArchiveNo.Text, 3, out TotalNum); GridHandle.DataSource = Dv; GridHandle.DataBind(); //动态设置用户自定义文本内容 Pager.RecordCount = TotalNum; Pager.CustomInfoText = "记录总数:<font color=\"blue\"><b>" + Pager.RecordCount.ToString() + "</b></font>"; Pager.CustomInfoText += " 每页:<font color=\"blue\"><b>" + Pager.PageSize.ToString() + "</b></font>"; Pager.CustomInfoText += " 总页数:<font color=\"blue\"><b>" + Pager.PageCount.ToString() + "</b></font>"; Pager.CustomInfoText += " 当前页:<font color=\"red\"><b>" + Pager.CurrentPageIndex.ToString() + "</b></font>"; } /// <summary> /// /// </summary> /// <param name="src"></param> /// <param name="e"></param> protected void Pager_PageChanged(object src, Wuqi.Webdiyer.PageChangedEventArgs e) { Pager.CurrentPageIndex = e.NewPageIndex; BindGrid(); }
Thank you for your detailed explanation.
I think you can implement your scenario in our WebGrid, and therefore you won't need any 3rd party application to achive it.
We have custom paging, custom sorting and custom filtering features in WebGrid. The information is stored in WebGrid documentation which is available in Start menu >> All Programs >> Intersoft WebUI Studio 2011 R1 >> WebUI Studio for ASP.NET >> WebGrid 7 >> WebGrid 7 Documentation (Visual Studio 2010).
In the documentation, search for WebGrid Custom Paging. Click the first searched result and you will see the information about Custom Paging. Under Custom Paging, you can see Walkthrough about implementing Custom Paging with ISDataSource control.
For custom Sorting and Filtering, you can try to search WebGrid Custom Sorting / WebGrid Custom Filtering, and you will find walkthrough about applying custom filtering and custom sorting in WebGrid.
In conclusion, WebGrid's paging, sorting and filtering is customizable, means that you can use your own code to determine the result of pagin, sorting and filtering in WebGrid.
Regards,-Martin-
I can't open In WebGrid 7 Documentation (Visual Studio 2010) my machine, I only can open WebGrid 7 Documentation (Visual Studio 2008).
I read the information about Custom Paging, but can't find the information about custom Sorting and Custom Filtering.
Is here a problem with my installation?
I install with the file "webuistudio2010r2.exe".
Do you install Visual Studio 2010 on your PC? It cannot open the WebGrid 7 Documentation (Visual Studio 2010) because it requires Visual Studio 2010 to be installed on your pc. However, it is fine to open the other documentation since it has the same content.
You can find the Advanced Column Filter topic under What's New in WebGrid >> V7.0 (2009 R2) >> New Features.
We don't have specific information about data sorting since it is a common feature. But you may want to read through Advanced user interactions topic, which has a numerous How-to topics that may help you to get a picture of how data sorting is applied in WebGrid. The topic can be found under Features and Concepts section.
Hope this helps. Thank you.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname