<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Custom Paging in GridView Control</title>
	<atom:link href="http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/</link>
	<description>Programming, .Net, SuiteScript</description>
	<pubDate>Fri, 12 Mar 2010 00:33:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-RC2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chandralekha.N.S</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-273</link>
		<dc:creator>Chandralekha.N.S</dc:creator>
		<pubDate>Wed, 17 Feb 2010 06:01:40 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-273</guid>
		<description>Thank You!! this code helped me :)

Regards</description>
		<content:encoded><![CDATA[<p>Thank You!! this code helped me <img src='http://www.kikosantos.net/tech/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Sullivan</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-270</link>
		<dc:creator>Mike Sullivan</dc:creator>
		<pubDate>Fri, 08 Jan 2010 04:44:39 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-270</guid>
		<description>Thanks for the great post. It has been a big help in my gridview pagers. I was able to use Top and Bottom pager with page dropdown control handled by this code in the handler:

protected void ddlPages_SelectedIndexChanged(object sender, EventArgs e)
{
// Cast the sender to a Dropdown list and get selectedIndex from that
//  (then we don't need to worry if it is coming from top or bottom
//   pager dropdown)
grdvwCompanies.PageIndex = ((DropDownList)sender).SelectedIndex;
}</description>
		<content:encoded><![CDATA[<p>Thanks for the great post. It has been a big help in my gridview pagers. I was able to use Top and Bottom pager with page dropdown control handled by this code in the handler:</p>
<p>protected void ddlPages_SelectedIndexChanged(object sender, EventArgs e)<br />
{<br />
// Cast the sender to a Dropdown list and get selectedIndex from that<br />
//  (then we don&#8217;t need to worry if it is coming from top or bottom<br />
//   pager dropdown)<br />
grdvwCompanies.PageIndex = ((DropDownList)sender).SelectedIndex;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Happy camper</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-254</link>
		<dc:creator>Happy camper</dc:creator>
		<pubDate>Thu, 17 Dec 2009 19:21:26 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-254</guid>
		<description>I think that when number of records will be less then size of the page then BottomPagerRow will be not visible, isn't it?</description>
		<content:encoded><![CDATA[<p>I think that when number of records will be less then size of the page then BottomPagerRow will be not visible, isn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marco Alvarez</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-82</link>
		<dc:creator>Marco Alvarez</dc:creator>
		<pubDate>Wed, 13 May 2009 06:16:00 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-82</guid>
		<description>Excelent Work, my friend.


tnks from Chile</description>
		<content:encoded><![CDATA[<p>Excelent Work, my friend.</p>
<p>tnks from Chile</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicholas barnaby</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-81</link>
		<dc:creator>nicholas barnaby</dc:creator>
		<pubDate>Thu, 02 Apr 2009 21:05:16 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-81</guid>
		<description>Thank you so much.  This really helped me a whole bunch.</description>
		<content:encoded><![CDATA[<p>Thank you so much.  This really helped me a whole bunch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep Singh , Kuwait</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-80</link>
		<dc:creator>Sandeep Singh , Kuwait</dc:creator>
		<pubDate>Wed, 01 Apr 2009 11:17:17 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-80</guid>
		<description>Hey Hi Man,
              Really good articals which i was searching. you did a good job keep it continue to help another guys. one more thing can i show this type paging in top and bottom of gridview i am trying it and its going on but my dropdown is not filled with my page numbers

suggest me if  you have any solution

Thanks</description>
		<content:encoded><![CDATA[<p>Hey Hi Man,<br />
              Really good articals which i was searching. you did a good job keep it continue to help another guys. one more thing can i show this type paging in top and bottom of gridview i am trying it and its going on but my dropdown is not filled with my page numbers</p>
<p>suggest me if  you have any solution</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Custom Paging with Gridview &#171; Yasserzaid&#8217;s Weblog</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-78</link>
		<dc:creator>Custom Paging with Gridview &#171; Yasserzaid&#8217;s Weblog</dc:creator>
		<pubDate>Fri, 16 Jan 2009 13:35:32 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-78</guid>
		<description>[...] http://www.kiko-santos.com/2006/05/custom-paging-in-gridview-control/   Tags: Paging [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.kiko-santos.com/2006/05/custom-paging-in-gridview-control/" rel="nofollow">http://www.kiko-santos.com/2006/05/custom-paging-in-gridview-control/</a>   Tags: Paging [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ashish</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-79</link>
		<dc:creator>ashish</dc:creator>
		<pubDate>Thu, 15 Jan 2009 06:04:03 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-79</guid>
		<description>really a very good article.

but here i need to populate a popup grid with paging functionality without any server side image button control..

can anybody make help in this regard or suggestions??</description>
		<content:encoded><![CDATA[<p>really a very good article.</p>
<p>but here i need to populate a popup grid with paging functionality without any server side image button control..</p>
<p>can anybody make help in this regard or suggestions??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aki</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-72</link>
		<dc:creator>Aki</dc:creator>
		<pubDate>Mon, 22 Dec 2008 16:22:40 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-72</guid>
		<description>I guess the Paginate need some tweak. Here is my code and it works fine. In the original code of Paginate, the Previous button will generate error when it goes beyond Index 0.

My code is :

  protected void Paginate(object sender, CommandEventArgs e)
    {
        // get the current page selected
        int intCurIndex = grdChild.PageIndex;

        switch (e.CommandArgument.ToString().ToLower())
        {
            case "first":
                grdChild.PageIndex = 0;
                break;
            case "prev":
                if (intCurIndex &#62; 0)
                    grdChild.PageIndex = intCurIndex - 1;
                break;
            case "next":
                if (intCurIndex &#60; grdChild.PageCount - 1)
                    grdChild.PageIndex = intCurIndex + 1;
                break;
            case "last":
                grdChild.PageIndex = grdChild.PageCount - 1;
                break;
        }

        // popultate the gridview control
             getDatasource();
    }

Also, in the aspx page add the folling in the 4 page buttons: OnCommand="Paginate".</description>
		<content:encoded><![CDATA[<p>I guess the Paginate need some tweak. Here is my code and it works fine. In the original code of Paginate, the Previous button will generate error when it goes beyond Index 0.</p>
<p>My code is :</p>
<p>  protected void Paginate(object sender, CommandEventArgs e)<br />
    {<br />
        // get the current page selected<br />
        int intCurIndex = grdChild.PageIndex;</p>
<p>        switch (e.CommandArgument.ToString().ToLower())<br />
        {<br />
            case &#8220;first&#8221;:<br />
                grdChild.PageIndex = 0;<br />
                break;<br />
            case &#8220;prev&#8221;:<br />
                if (intCurIndex &gt; 0)<br />
                    grdChild.PageIndex = intCurIndex - 1;<br />
                break;<br />
            case &#8220;next&#8221;:<br />
                if (intCurIndex &lt; grdChild.PageCount - 1)<br />
                    grdChild.PageIndex = intCurIndex + 1;<br />
                break;<br />
            case &#8220;last&#8221;:<br />
                grdChild.PageIndex = grdChild.PageCount - 1;<br />
                break;<br />
        }</p>
<p>        // popultate the gridview control<br />
             getDatasource();<br />
    }</p>
<p>Also, in the aspx page add the folling in the 4 page buttons: OnCommand=&#8221;Paginate&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bijay Mandal</title>
		<link>http://www.kikosantos.net/tech/2006/05/custom-paging-in-gridview-control/comment-page-2/#comment-75</link>
		<dc:creator>Bijay Mandal</dc:creator>
		<pubDate>Fri, 24 Oct 2008 16:59:16 +0000</pubDate>
		<guid isPermaLink="false">https://kikosantos.wordpress.com/2006/05/17/custom-paging-in-gridview-control/#comment-75</guid>
		<description>Code provided is excellent</description>
		<content:encoded><![CDATA[<p>Code provided is excellent</p>
]]></content:encoded>
	</item>
</channel>
</rss>
