Webgrid 7.0 classic paging with isDataSource

Tags :
  • New Discussion
  • New Question
  • New Product Feedback

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

All times are GMT -5. The time now is 7:09 PM.
Previous Next