﻿<?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 - Getting Stuck On "Refreshing data..."</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Getting-Stuck-On-Refreshing-data/</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>Getting Stuck On "Refreshing data..."</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Getting-Stuck-On-Refreshing-data/</link><pubDate>Mon, 06 Aug 2012 08:50:50 GMT</pubDate><dc:creator>adajani@najiasystems.com</dc:creator><description>Thanks Yudi. That did it.&lt;br /&gt;</description></item><item><title>Getting Stuck On "Refreshing data..."</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Getting-Stuck-On-Refreshing-data/</link><pubDate>Thu, 02 Aug 2012 03:43:29 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;I tried to reproduce the problem in my local test by creating a simple page of WebGrid based on thedescription in your initial post. The grid sample is bound to ObjectDataSourcecontrol where the business object is set to GenericObject.CustomerDataAccess
class. This class is available in WebGridSamples project ("%ProgramFiles%\Intersoft
Solutions\Intersoft WebUI Studio 2012 R1\Samples\For
ASP.NET\ISNet.WebUI.Samples\cs\WebGrid\App_Code\GenericObject" folder).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;However, I was unable
to replicate the repoted problem using this simple sample. I enclosed the
sample for reference. Could you please have the sample tested on your end and
let me know your feedback?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;For your information, instead
of adding columns dynamically on InitializeLayout event, the sample uses
WebGrid1.RetrieveStucture(); method on PrepareDataBinding event. Client side
events, OnRowContextMenu; OnColumnContextMenu; and OnEnterEditMode, are
excluded.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125); "&gt;If you don’t mind,
could you please try to dynamically add the columns in PrepareDataBinding event
as shown in the DiffCols.aspx WebGrid tutorial and let us know whether the problem persist or not? (start &amp;gt; All Programs &amp;gt;
Intersoft WebUI Studio 2012 R1 &amp;gt; WebUI Studio for ASP.NET &amp;gt; WebGrid 8
&amp;gt; C# Tutorials. The physical location of the file is: "%ProgramFiles%\Intersoft
Solutions\Intersoft WebUI Studio 2012
R1\Tutorials\cs\WebGrid\V3.1\DiffCols.aspx".)&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Getting Stuck On "Refreshing data..."</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Getting-Stuck-On-Refreshing-data/</link><pubDate>Wed, 01 Aug 2012 15:13:35 GMT</pubDate><dc:creator>adajani@najiasystems.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm having an issue with my grid getting stuck with status "Refresing data..." after I make an edit on the grid. If I refresh the page, it looks like the change makes it to the database, but the grid itself never updates. See the attached image.&lt;/p&gt;
&lt;p&gt;Scenario as follows:&lt;/p&gt;
&lt;p&gt;- Dynamically adding columns server side inside InitializeLayout (80&amp;#43; columns).&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;- Binding to ObjectDataSource&lt;/p&gt;
&lt;p&gt;- Double click into a cell to make a change.&lt;/p&gt;
&lt;p&gt;- Hit enter and move to next line. I see the status "Updating..." then "Refreshing data..." then it gets stuck and my grid never refreshes.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;- My grid looks like this:&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebGrid:WebGrid ID="myGrid" runat="server" Height="560px" Width="100%" UseDefaultStyle="true" EnableWebResources="Always"
                           DataSourceID="odsAccountLineList" CustomSchemaRetrieval="UseWebGrid"&amp;gt;
            &amp;lt;RootTable GridLineStyle="NotSet" DataKeyField="account_line_id"&amp;gt;
            &amp;lt;/RootTable&amp;gt;
            &amp;lt;LayoutSettings DisplayDetailsOnUnhandledError="true"
                            InProgressUIBehavior="ChangeCursorToHourGlass" StatusBarVisible="true"
                            NewRowLostFocusAction="AlwaysUpdate"
			                RowLostFocusAction="AlwaysUpdate" 
                            AllowColumnMove="Yes"
			                AllowFilter="No" 
                            AllowGrouping="No" 
                            AllowSelectColumns="Yes" 
                            AllowSorting="No"
			                GroupByBoxVisible="false" 
                            AutoHeight="false" 
                            AutoWidth="true" 
                            PagingMode="None"
                            AllowEdit="Yes" 
                            AllowDelete="Yes"
                            AllowMultipleSelection="Yes"
                            UseRelativePositioning="true"&amp;gt;
                &amp;lt;AlternatingRowStyle CustomRules="text-overflow: ellipsis; overflow-x: hidden" BackColor="LightGray" Wrap="false" Font-Size="8pt" Font-Names="Arial Monospaced"&amp;gt;&amp;lt;/AlternatingRowStyle&amp;gt;
                &amp;lt;RowStyle CustomRules="text-overflow: ellipsis; overflow-x: hidden" BackColor="White" Font-Size="8pt" Wrap="false" Font-Names="Arial Monospaced"&amp;gt;&amp;lt;/RowStyle&amp;gt;
                &amp;lt;ClientSideEvents OnRowContextMenu="myGrid_OnRowContextMenu" OnColumnContextMenu="myGrid_OnColumnContextMenu" OnEnterEditMode="myGrid_OnEnterEditMode" /&amp;gt;
		    &amp;lt;/LayoutSettings&amp;gt;
        &amp;lt;/ISWebGrid:WebGrid&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>