Getting Stuck On "Refreshing data..."

2 replies. Last post: August 6, 2012 8:50 AM by Ahmed Dajani
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Ahmed DajaniMember

Hi,

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.

Scenario as follows:

- Dynamically adding columns server side inside InitializeLayout (80+ columns).

- Binding to ObjectDataSource

- Double click into a cell to make a change.

- Hit enter and move to next line. I see the status "Updating..." then "Refreshing data..." then it gets stuck and my grid never refreshes.

- My grid looks like this:

<ISWebGrid:WebGrid ID="myGrid" runat="server" Height="560px" Width="100%" UseDefaultStyle="true" EnableWebResources="Always"
                           DataSourceID="odsAccountLineList" CustomSchemaRetrieval="UseWebGrid">
            <RootTable GridLineStyle="NotSet" DataKeyField="account_line_id">
            </RootTable>
            <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">
                <AlternatingRowStyle CustomRules="text-overflow: ellipsis; overflow-x: hidden" BackColor="LightGray" Wrap="false" Font-Size="8pt" Font-Names="Arial Monospaced"></AlternatingRowStyle>
                <RowStyle CustomRules="text-overflow: ellipsis; overflow-x: hidden" BackColor="White" Font-Size="8pt" Wrap="false" Font-Names="Arial Monospaced"></RowStyle>
                <ClientSideEvents OnRowContextMenu="myGrid_OnRowContextMenu" OnColumnContextMenu="myGrid_OnColumnContextMenu" OnEnterEditMode="myGrid_OnEnterEditMode" />
		    </LayoutSettings>
        </ISWebGrid:WebGrid>


Thanks!

1 attachment
All times are GMT -5. The time now is 11:49 PM.
Previous Next