iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
I get an error when trying to process a BatchUpdate on a grid. I click on the "Accept All Changes" and see the indictor saying "Submitting all changes to server...". Then an unhandled exception pops up with "Unable to communicate with server".
Any ideas?
<LayoutSettings AllowAddNew="No" AllowColumnSizing="Yes" AllowColumnMove="Yes" AllowDelete="No" AllowEdit="Yes" AllowExport="Yes" AllowFilter="Yes" AllowGrouping="No" AllowSelectColumns="Yes" AllowSorting="Yes" GridLineColor="#CCCCCC" GridLines="Both" GridLineStyle="Solid" PagingMode="ClassicPaging" PagingSize="500" AllowBatchUpdate="true" PagingStyleUI="FirstPrevNextLast" AllowMultipleSelection="Yes" GroupByBoxVisible="false" HeaderClickAction="SortMulti" VerboseEditingInformation="true" NewRowLostFocusAction="AlwaysUpdate" FocusNewRowOnLastCell="true" AllowColumnFreezing="Yes" ApplyFiltersKey="Enter" EditOnClick="True" AutoWidth="True" AutoFilterSuggestion="true" PagingExportMode="ExportCurrentPageView" InProgressUIBehavior="ChangeCursorToHourGlass"> <FreezePaneSettings ShowInContextMenu="true" MaxFrozenColumns="6" /> <EditFocusCellStyle BackColor="#E9CD82"> </EditFocusCellStyle> <EditTextboxStyle BorderStyle="None" BorderWidth="0px" Font-Names="Arial" Font-Size="8pt"> </EditTextboxStyle> <BatchUpdateSettings AllowReviewChanges="True" HighlightChanges="true" PromptUnsavedChanges="true" /> <FrameStyle BackColor="#f2f2f2"> </FrameStyle> <GroupByBox> <Style BackColor="#f2f2f2"> </Style> <LabelStyle BackColor="White" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" Font-Names="Arial" Font-Size="8pt" /> </GroupByBox> <GroupRowInfoStyle BackgroundImage="/CommonLibrary/Images/ColBk.gif" BorderColor="#CCCCCC" BorderStyle="None" Font-Names="Arial" Font-Size="8pt"> </GroupRowInfoStyle> <AlternatingRowStyle BackColor="#FFFFFF" ForeColor="#666666" Font-Names="Arial" Font-Size="11px" Padding-Left="10px" Padding-Right="10px" Wrap="true"> <Padding Left="10px" Right="10px"></Padding> </AlternatingRowStyle> <RowStyle BackColor="#f2f2f2" ForeColor="#666666" Font-Size="11px" CustomRules="text-overflow: ellipsis; overflow-x: hidden" Font-Names="Arial" Height="20px" Padding-Left="10px" Padding-Right="10px" Wrap="true"> <Padding Left="10px" Right="10px"></Padding> </RowStyle> <SelectedRowStyle BackColor="#dadada" /> <%-- <FocusCellStyle BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" /> --%> <HeaderStyle BackColor="#0078AE" Font-Bold="true" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" CustomRules="border-bottom: #73A1E4 1px solid" Font-Names="Arial" Font-Size="11px" ForeColor="#FFFFFF" Height="20px" Padding-Left="10px" Padding-Right="10px"> <Padding Left="10px" Right="10px"></Padding> </HeaderStyle> <NewRowStyle BackColor="White" Font-Names="Arial" Font-Size="11px" ForeColor="#666666"> </NewRowStyle> <FooterStyle BackColor="#E9CD82" Font-Names="Arial" Font-Size="11px" ForeColor="#666666" /> <StatusBarStyle BackColor="#f2f2f2" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" Font-Names="Arial" Font-Size="8pt"> <Padding Bottom="2px" Left="2px" Right="2px" Top="2px" /> </StatusBarStyle> <StatusBarCommandStyle> <Normal> <Padding Bottom="1px" Left="1px" Right="1px" Top="1px" /> </Normal> <Over BackColor="#f2f2f2" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"> </Over> <Active BackColor="#f2f2f2" BaseStyle="Over"> </Active> </StatusBarCommandStyle> <HyperlinkStyle ForeColor="#0078AE" CustomRules="text-decoration: none;border-bottom: dotted 1px #DAE7F2; " /> <DeletedRowStyle Font-Strikeout="true" ForeColor="Black"> </DeletedRowStyle> <AddedRowStyle Font-Bold="true" ForeColor="Black" > </AddedRowStyle> <FilterRowStyle Wrap="false"></FilterRowStyle> </LayoutSettings>
To give more information on this problem: it seems if I click the refresh icon or try paging through the data I get the same data.
I found the solution. I needed to remove if (!PostBack) in the code behind that had webgrid's datasource and databinding.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname