Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
65
UltraWebGrid doesn't count the number of rows on server side with OnDemandLoading
posted

We are using Infragistics UltraWebGrid (v9.1). The grid is enabled for On Demand Loading with LoadOnDemand set to "XML". Given below is the declaration of the grid:

 

          <igtbl:UltraWebGrid ID="consumptionWebGrid" runat="server" Browser="Xml" Height="294px"
                EnableAppStyling="True" Width="340px"
                OnInitializeDataSource="consumptionWebGrid_InitializeDataSource"
                <DisplayLayout CompactRendering="False" RowHeightDefault="20px" Version="4.00" ViewType="Hierarchical"
                    XmlLoadOnDemandType="Synchronous" RowsRange="30" BorderCollapseDefault="Separate"
                    LoadOnDemand="Xml" Name="consumptionWebGrid">
                    <FrameStyle BorderWidth="1px" Font-Size="8pt" Font-Names="Verdana" Width="360px"
                        BorderStyle="Solid" Height="294px">
                    </FrameStyle>
                </DisplayLayout>
                <Bands>
                    <igtbl:UltraGridBand ColFootersVisible="yes" ColHeadersVisible="yes">
                    </igtbl:UltraGridBand>
                    <igtbl:UltraGridBand ColFootersVisible="yes" ColHeadersVisible="yes">
                    </igtbl:UltraGridBand>
                </Bands>
            </igtbl:UltraWebGrid>

 

We have handled the InitializeDataSource event properly as well. One of the cells in the grid is editable where the user is expected to enter the data and click on a save button.

If we scroll on the grid, more rows are loaded which is expected. But the problem is even the grid has more than 30 rows (as specified in the RowsRange on the grid design), when we check the .Rows.Count property of the grid it still shows 30 only. Because of this problem if the user enters some data after the 30th row (after scrolling the grid), we are not able to determine what is been entered by him/her.

Please help us to resolve this problem ASAP.

Regards

Ayan