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
Hello,
I'm trying to configure classic paging (default behaviour) but my webgrid does a postback. It takes a long time to display the data and the page isn't changed !
I always have data of my first page...
Here is the setting I'm using :
<cc4:WebGrid ID="grdInputSamples" DataSourceID="dsInputSamples" runat="server" Height="320px" UseDefaultStyle="True" Width="100%" DefaultStyleMode="Elegant" OnInitializeRow="grdInputSamples_InitializeRow" OnUpdateRow="grdInputSamples_UpdateRow" OnDeleteRow="grdInputSamples_DeleteRow"> <LayoutSettings AllowColumnMove="Yes" AllowSorting="Yes" PagingMode="ClassicPaging" AllowFilter="Yes" AutoFilterSuggestion="True" ShowFilterStatus="True" AllowEdit="Yes" AllowDelete="Yes"> </LayoutSettings>
and my datasource (custom object) :
<ISDataSource:ISDataSource ID="dsInputSamples" runat="server"> <Tables> <ISDataSource:ISDataSourceTable InsertMethod="Insert" SelectCountMethod="SelectCount" DeleteMethod="Delete" UpdateMethod="Update" SelectMethod="GetData" TableName="InputSamples" TypeName="Pmi.ITrack.Web.InputSampleProvider"> </ISDataSource:ISDataSourceTable> </Tables> </ISDataSource:ISDataSource>
I tried to set
PagingLoadMode="Automatic"
But it still doesn't work.
I thank you in advance for your quick help !
Nicolas
Hi,
I solved my problem.
When we use Classing paging, we have to ensure that we don't return partial rows :
grid.LayoutSettings.PagingDataRetrievalMode = ClassicPagingRetrievalMode.ReturnPartialRows;
Another custom method (initializeGrid) was setting this property to true...
See you,
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