﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><pubDate>Mon, 18 Apr 2011 23:29:52 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Do you install Visual Studio 2010 on your PC? It cannot open the &lt;strong&gt;WebGrid 7 Documentation (Visual Studio 2010) &lt;/strong&gt;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.&lt;/p&gt;
&lt;p&gt;You can find the &lt;strong&gt;Advanced Column Filter &lt;/strong&gt;topic under &lt;strong&gt;What's New in WebGrid &amp;gt;&amp;gt; V7.0 (2009 R2) &amp;gt;&amp;gt; New Features&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;We don't have specific information about data sorting since it is a common feature. But you may want to read through &lt;strong&gt;Advanced user interactions &lt;/strong&gt;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 &lt;strong&gt;Features and Concepts &lt;/strong&gt;section.&lt;/p&gt;
&lt;p&gt;Hope this helps. Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><pubDate>Mon, 18 Apr 2011 04:27:23 GMT</pubDate><dc:creator>gavin</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;    I can't open In &lt;strong&gt;WebGrid 7 Documentation (Visual Studio 2010) &lt;/strong&gt;my machine, I only can open &lt;strong&gt;WebGrid 7 Documentation (Visual Studio 2008).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I read the information about Custom Paging, but can't find the information about custom Sorting and Custom Filtering.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/strong&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;Is&amp;nbsp;here&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;a problem with&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;my&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;installation?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I install with the file "webuistudio2010r2.exe".&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;Thanks!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><pubDate>Mon, 18 Apr 2011 03:08:21 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thank you for your detailed explanation.&lt;/p&gt;
&lt;p&gt;I think you can implement your scenario in our WebGrid, and therefore you won't need any 3rd party application to achive it.&lt;/p&gt;
&lt;p&gt;We have custom paging, custom sorting and custom filtering features in WebGrid. The information is stored in WebGrid documentation which is available in &lt;strong&gt;Start menu &amp;gt;&amp;gt; All Programs &amp;gt;&amp;gt; Intersoft WebUI Studio 2011 R1 &amp;gt;&amp;gt; WebUI Studio for ASP.NET &amp;gt;&amp;gt; WebGrid 7 &amp;gt;&amp;gt; WebGrid 7 Documentation (Visual Studio 2010)&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In the documentation, search for &lt;strong&gt;WebGrid&lt;/strong&gt; &lt;strong&gt;Custom Paging&lt;/strong&gt;. 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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;-Martin-&lt;/p&gt;</description></item><item><title>Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><pubDate>Sat, 16 Apr 2011 01:26:35 GMT</pubDate><dc:creator>gavin</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;    First sorry for my bad English.&lt;/p&gt;
&lt;p&gt;    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.&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Of course&lt;/span&gt;&lt;span title="点击可显示其他翻译"&gt;, if use&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;this mode&lt;/span&gt;&lt;span title="点击可显示其他翻译"&gt;, then the&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;Sort&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;and&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;Filter&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;the grid&lt;/span&gt;&lt;span title="点击可显示其他翻译"&gt;,&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;also need to provide&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;events&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;to allow&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;us to achieve&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;sort&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;or&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;retrieve data.&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;If WebGrid &lt;/span&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;can provide&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;OnSort&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;and&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;OnFilter&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;event&lt;/span&gt;&lt;span title="点击可显示其他翻译"&gt;, it would&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;be perfect.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;thanks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;Here is&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;the old&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;code in &lt;/span&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;our system.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&lt;/span&gt;  &lt;/p&gt;&lt;pre&gt;&amp;lt;webdiyer:AspNetPager ID="Pager" runat="server" PageSize="15" NavigationButtonType="Image"
                    PagingButtonType="Image" &lt;strong&gt;&lt;span style="font-size: 12pt"&gt;OnPageChanged="Pager_PageChanged"&lt;/span&gt;&lt;/strong&gt; ImagePath="../../Images/page/"
                    CpiButtonImageNameExtension="r" DisabledButtonImageNameExtension="g" ButtonImageNameExtension="n"
                    ShowCustomInfoSection="Left" InputBoxClass="inputtxt" SubmitButtonClass="backendbtn22"
                    AlwaysShow="True"&amp;gt;
                &amp;lt;/webdiyer:AspNetPager&amp;gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;&lt;pre&gt; 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 = "记录总数：&amp;lt;font color=\"blue\"&amp;gt;&amp;lt;b&amp;gt;" &amp;#43; Pager.RecordCount.ToString() &amp;#43; "&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;";
            Pager.CustomInfoText &amp;#43;= " 每页：&amp;lt;font color=\"blue\"&amp;gt;&amp;lt;b&amp;gt;" &amp;#43; Pager.PageSize.ToString() &amp;#43; "&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;";
            Pager.CustomInfoText &amp;#43;= " 总页数：&amp;lt;font color=\"blue\"&amp;gt;&amp;lt;b&amp;gt;" &amp;#43; Pager.PageCount.ToString() &amp;#43; "&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;";
            Pager.CustomInfoText &amp;#43;= " 当前页：&amp;lt;font color=\"red\"&amp;gt;&amp;lt;b&amp;gt;" &amp;#43; Pager.CurrentPageIndex.ToString() &amp;#43; "&amp;lt;/b&amp;gt;&amp;lt;/font&amp;gt;";

            
        }

/// &amp;lt;summary&amp;gt;
        /// 
        /// &amp;lt;/summary&amp;gt;
        /// &amp;lt;param name="src"&amp;gt;&amp;lt;/param&amp;gt;
        /// &amp;lt;param name="e"&amp;gt;&amp;lt;/param&amp;gt;
        protected void Pager_PageChanged(object src, Wuqi.Webdiyer.PageChangedEventArgs e)
        {
            Pager.CurrentPageIndex = e.NewPageIndex;
            BindGrid();
        }&lt;/pre&gt;</description></item><item><title>Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><pubDate>Fri, 15 Apr 2011 12:15:10 GMT</pubDate><dc:creator>MarTin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Could you provide more detail information about the PageChanged event that you request to be added in WebGrid?&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;</description></item><item><title>Is it possible to provide PageChanged events</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Is-it-possible-to-provide-PageChanged-events/</link><pubDate>Fri, 15 Apr 2011 04:01:17 GMT</pubDate><dc:creator>gavin</dc:creator><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;    I strongly recommend WebGrid provides PageChanged events. &lt;br /&gt;I bind the Grid in the first time, only bind the first page of data and total number of records. &lt;br /&gt;When changing the page number , the PageChanged events will be fired, bind the required data . &lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;So that we can&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;more freely&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;use the&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;WebGrid.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;Look forward to your&lt;/span&gt; &lt;span title="点击可显示其他翻译" class="hps"&gt;reply!!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;&lt;span title="点击可显示其他翻译" class="hps"&gt;Thanks!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>