Dear All,
We are using Ultra webgrid in our web application with the following properties Browser="Xml" and LoadOnDemand="Xml" and AllowPaging="True" MinimumPagesForDisplay="10" PageSize="10". We have load 20,000 records in to grid it will displays 10 records per page and it can navigate and can show the records using navigation. While we are trying to get the values of grid in server side we cannot access the whole values we can access only the currently displaying records only, if we are trying to access 11 the row in the grid it throws the error.
Please help me how to resolve the problem.
Thanks in advance,
Sphinx
When this property is set you need the view state to be enabled and databind only on the first page load (!IsPostBack). As it's hard to guess what is going on in the app, Id' suggest you to seek help from the developer support.
Thanks.
Hi Alex,
Thanks.Now I have include the below line in my application. but it the same error continues. Morever we are using paging also.
Grid.DisplayLayout.EnableInternalRowsManagement = True Grid.DisplayLayout.Pager.AllowPaging=True
How to resolve the problem.Can you suggest me.
Sphinx.
Hello,
In theory you can put all of your records into the view state by setting EnableInternalRowsManagement off the DisplayLayout to true. But with 20000 records I'd advise you against that as the view state will become huge and page load time will be affected tremendously. Instead it might be better to create another mechanism for accessing random rows from the data source, not related to the grid.