SynchronizeRows failed! on Webservice client binding

1 reply. Last post: August 1, 2011 2:53 AM by Riendy Setiadi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Hi, I'm getting a problem with the client webservice binding from the WebGrid. I get the error message "SynchronizeRows failed!" (see attached image) in a javascript file called "707200430 [Dynamic]". I'm using webgrid 7.0.7200.430 build. Here is my grid. The webservice code is returning a WebGridDataProvider object. I can get the sample working but not this one, any idea what I'm doing wrong? Thanks Paul
<ISWebGrid:WebGrid ID="WebGrid1" runat="server" Height="300px" UseDefaultStyle="True"
        Width="817px" DefaultStyleMode="Elegant" BindingOperationMode="ClientBinding"
        ViewStateStorage="None" StateRestorationLevel="Low">
        <LayoutSettings AllowColumnMove="Yes" AllowFilter="Yes" AllowGrouping="Yes" AllowSorting="Yes"
            GroupByBoxVisible="True" AutoFilterSuggestion="true" HeaderClickAction="SortMulti"
            InProgressUIBehavior="ChangeCursorToHourGlass" AllowAddNew="Yes" AllowDelete="Yes"
            AllowEdit="Yes" PagingMode="ClassicPaging" AllowDefaultStyleMerging="true">
            <HeaderStyle Wrap="false" />
            <ClientSideEvents OnUnhandledError="OnUnhandledError" />
        </LayoutSettings>
        <RootTable DataKeyField="EmployeeId">
            <Columns>
                <ISWebGrid:WebGridColumn Caption="EmployeeId" DataMember="EmployeeId" Name="EmployeeId"
                    Width="100px">
                </ISWebGrid:WebGridColumn>
                <ISWebGrid:WebGridColumn Caption="FirstName" DataMember="FirstName" Name="FirstName"
                    Width="100px" AggregateFunction="Count">
                </ISWebGrid:WebGridColumn>
            </Columns>
        </RootTable>
        <ClientBindingSettings DataSourceType="WebService" ServiceUrl="~/Webservices/settings.asmx" ItemTypeName="Andron.Core.Linq.LinqEmployee"
            DataLoadMode="PagedData" PreloadGroupTotals="True" FetchDataOnPageLoad="False" EnableGroupRowPaging="True">
            <ServiceMethods SelectMethod="GetPagedEmployees" DeleteMethod="DeleteCustomer" InsertMethod="InsertCustomer"
                UpdateMethod="UpdateCustomer" />
            <ServiceEvents Selecting="Service_Selecting" Selected="Service_Selected" Inserting="Service_Inserting"
                Inserted="Service_Inserted" Deleting="Service_Deleting" Deleted="Service_Deleted"
                Updating="Service_Updating" Updated="Service_Updated" />
        </ClientBindingSettings>
    </ISWebGrid:WebGrid>
1 attachment
All times are GMT -5. The time now is 7:09 PM.
Previous Next