﻿<?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 - Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</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>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Mon, 09 Jul 2012 21:41:18 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;I’m glad to hear that you have solved your issue.&lt;br /&gt;Should you have further question, please do not hesitate to contact us.&lt;br /&gt;I would be happy to help you again.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Mon, 09 Jul 2012 13:19:40 GMT</pubDate><dc:creator>sigmasolution</dc:creator><description>&lt;p&gt;Hi hans ,&lt;/p&gt;
&lt;p&gt;Thank you for your replay .&lt;/p&gt;
&lt;p&gt;Now it works very well.&lt;/p&gt;
&lt;p&gt;Thank you .&lt;/p&gt;
&lt;p&gt;Regards ,&lt;/p&gt;
&lt;p&gt;Sigma team &lt;/p&gt;</description></item><item><title>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Mon, 09 Jul 2012 03:58:33 GMT</pubDate><dc:creator>Hans</dc:creator><description>Hi,&lt;br /&gt;&lt;br /&gt;Thank you for your reply.&lt;br /&gt;I’m glad to hear that you’ve found a workaround for this issue although it’s still partially done.&lt;br /&gt;&lt;br /&gt;Could you kindly explain in details what you’ve done in your code and what the result is with using your workaround?&lt;br /&gt;Or if you don’t mind, could you provide me the sample that replicate your issue? So that, I can investigate this issue further more on my end.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans</description></item><item><title>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Fri, 06 Jul 2012 11:51:16 GMT</pubDate><dc:creator>sigmasolution</dc:creator><description>&lt;p&gt;Hi hans , &lt;/p&gt;
&lt;p&gt;I made a small modification in the fonction and it works partiely &lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;var &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;WebGrid1 = ISGetObject(controlId);&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (actionName == &lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;"Refresh"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; || actionName == &lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;"ColumnSort"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;) {&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (expandedGroupNodes != &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;) {&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; splitResult = expandedGroupNodes.split(&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;";"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;);&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 13px;"&gt;intervalObj = setInterval(&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;() {&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (!WebGrid1.IsInProgress) {&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (i &amp;lt; splitResult.length - 1) {&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; gridAndPosition = splitResult[i].split(&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;":"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;);&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;   						WebGrid1.RootTable.GetRowByGroup(0, gridAndPosition[1]).ExpandGroupRow();&lt;/span&gt;&lt;/p&gt;&lt;p&gt;i&amp;#43;&amp;#43;;&lt;/p&gt;&lt;p&gt;   					}&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (i &amp;gt;= splitResult.length - 1) {&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;p&gt;   						clearInterval(intervalObj);&lt;/p&gt;&lt;p&gt;   						intervalObj = null;&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 13px;"&gt;i = 0;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;}}}, 5);}&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;p&gt;   	}&lt;/p&gt;&lt;p&gt;I retiriev&amp;nbsp; Expanded Grouped rows&amp;nbsp; if rowindex &amp;lt;&amp;nbsp; the VirtualPageSize(in my case 32) else the group is collapsed.&lt;/p&gt;&lt;p&gt;thank you &lt;/p&gt;&lt;p&gt;Best regards &lt;/p&gt;&lt;p&gt;Sigma team&lt;/p&gt;&lt;/span&gt;</description></item><item><title>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Fri, 06 Jul 2012 11:27:48 GMT</pubDate><dc:creator>sigmasolution</dc:creator><description>&lt;p&gt;Hi hans,&lt;/p&gt;
&lt;p&gt;Thanks for your suggestion, I have no java script error but i don't retrieve my Expanded Grouped rows  also.&lt;/p&gt;
&lt;p&gt;thank you&lt;/p&gt;
&lt;p&gt;Regards &lt;/p&gt;
&lt;p&gt;Sigma &lt;/p&gt;</description></item><item><title>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Fri, 06 Jul 2012 06:39:53 GMT</pubDate><dc:creator>Hans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thank you for your information code and I apologize for any inconveniences this problem may have caused you.&lt;br /&gt;&lt;br /&gt;I’ve made a sample that perhaps similar with your current scenario (based on information code). I bind the WebGrid to Northwind.mdb database and Orders table.&lt;br /&gt;I try to expand a couple of grouped rows, then I refresh the WebGrid. And I get a java script error as well.&lt;br /&gt;&lt;br /&gt;To fix this issue, you should modify your code in OnAfterResponseProcess function.&lt;br /&gt;Here I enclosed the code:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;var i = 0;var intervalObj;
function WebGrid1_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject) {
    var WebGrid1 = ISGetObject(controlId);
    if (actionName == "Refresh" || actionName == "ColumnSort") {
        if (expandedGroupNodes != null) {
            var splitResult = expandedGroupNodes.split(";");
            intervalObj = setInterval(function () {
                if (!WebGrid1.IsInProgress) {
                    if (i &amp;lt; splitResult.length - 1) {
                        WebGrid1.RootTable.GetRowByGroup(0, splitResult[i]).ExpandGroupRow();
                        i&amp;#43;&amp;#43;;
                    }
                    if (i &amp;gt;= splitResult.length - 1) {
                        clearInterval(intervalObj);
                        intervalObj = null;
                        i = 0;
                    }
                }
            }, 5);
        }
    }
    return true;
}&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Please have a review in my sample and let me hear your response.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Hans.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error While retaining Expanded group row state when the number of records exceed VirtualPageSize</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Error-While-retaining-Expanded-group-row-state-when-the-number-of-records-exceed-VirtualPageSize/</link><pubDate>Thu, 05 Jul 2012 14:22:44 GMT</pubDate><dc:creator>sigmasolution</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt; when I have the number of records more then VirtualPageSize(in my case 32) in a grid i have a java script error when i tray to retrive Expanded Grouped rows  when row index is upper then VirtualPageSize(in my case 32) .&lt;/p&gt;
&lt;p&gt; i used this function to retaining the Expanded Grouped rows.&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;p&gt; &lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; WebGrid1_OnAfterResponseProcess(controlId, actionName, lastRequestObject, xmlResponseObject) {&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; WebGrid1 = ISGetObject(controlId);&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (actionName == &lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;"Refresh"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; || actionName == &lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;"ColumnSort"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;) {&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;if&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (expandedGroupNodes != &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;) {&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; splitResult = expandedGroupNodes.split(&lt;/span&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;&lt;span style="color: rgb(163, 21, 21); font-size: 13px;"&gt;";"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;);&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;for&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; (&lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; i = 0; i &amp;lt; splitResult.length; i&amp;#43;&amp;#43;)&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;p&gt;                        WebGrid1.RootTable.GetRowByGroup(0, splitResult[i]).ExpandGroupRow();}}&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;return&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;&lt;span style="color: rgb(0, 0, 255); font-size: 13px;"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px;"&gt;;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px;"&gt;&lt;p&gt;        }&lt;/p&gt;&lt;p&gt;see attached file .&lt;/p&gt;&lt;p&gt;Is there any solution to this issue?&lt;/p&gt;&lt;p&gt;Best regards&lt;/p&gt;&lt;p&gt;thanks&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>