﻿<?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 - Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</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>Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</link><pubDate>Thu, 17 Dec 2009 21:50:59 GMT</pubDate><dc:creator>james</dc:creator><description>&lt;p&gt;&lt;/p&gt;&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;Siva,&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;You can also go to a certain page through client-side API by using GotoPage method. For example:&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;/p&gt;&lt;pre style="background-color: rgb(255, 252, 225); font-family: 'courier new', tahoma; font-size: 9pt; "&gt;grid.GotoPage(5); // go to page 5&lt;/pre&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;All WebGrid's client-side API such as properties and methods can be found in WebGrid Product Documentation, specifically in Client-side References node then expand to each class to see its APIs, eg, WebGrid class.&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-bottom: 10px; "&gt;Hope this helps,&lt;br /&gt;James.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</link><pubDate>Thu, 17 Dec 2009 03:52:40 GMT</pubDate><dc:creator>sivaprasath.mugunthu</dc:creator><description>&lt;p&gt;Thanks for the solution. Please let me know, where i can find those information available. So that i can see all the methods and properties available.&lt;/p&gt;</description></item><item><title>Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</link><pubDate>Thu, 17 Dec 2009 01:55:08 GMT</pubDate><dc:creator>julia</dc:creator><description>&lt;p&gt;Hi Siva,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Here is the sample of javascript's code where you can get the WebGrid's current page index and the total pages number:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;pre&gt;function Button1_onclick() {
            var text = document.getElementById("Text1");
            var grid = ISGetObject("WebGrid1");

            var currentPage = grid.CurrentPageIndex;
            var totalPages = grid.TotalPages;

            text.value = "current page = " &amp;#43; currentPage &amp;#43; " total page = " &amp;#43; totalPages;
        }&lt;/pre&gt;

&lt;p&gt; I hope this can help. Let me know if you need another help.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</link><pubDate>Tue, 15 Dec 2009 23:30:21 GMT</pubDate><dc:creator>sivaprasath.mugunthu</dc:creator><description>&lt;p&gt;Please note i have asked this question under webgrid. what is required is,  Consider the grid is loaded with 10 pages, on the click of the grid row, i am raising a popup window which will contain some detailed info of the row. In the popup there will be next and previous buttons, when the user clicks next button, i will get the currently selected row and move to the next row. When the user reaches the last row of the page x(may be 1 or 2 or any page), i want to move the next page and load the first row details in the popup. So i should know the current page index and total number of pages in the grid. How to get the current page index and total number of pages available through javascript?&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</link><pubDate>Sun, 13 Dec 2009 23:43:17 GMT</pubDate><dc:creator>julia</dc:creator><description>&lt;p&gt;Hi Siva,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;May I know what control that you used? Is it WebGrid or WebDesktop? Do you mean that the page will be navigated to different page when you click on a row?&lt;/p&gt;
&lt;p&gt;Or if you used WebDesktopWindow, do you want to navigate the page in postback (redirect the whole page) or just changing the content of the window?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Julia&lt;/p&gt;</description></item><item><title>Navigate to pages in client side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Navigate-to-pages-in-client-side/</link><pubDate>Fri, 11 Dec 2009 02:27:17 GMT</pubDate><dc:creator>sivaprasath.mugunthu</dc:creator><description>&lt;p&gt;Consider i am in page x, i want to move to x&amp;#43;1 or x-1 page in client side programatically. How can i do this? &lt;/p&gt;</description></item></channel></rss>