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
1329
Issue with Paging and a disconnected DataSet
posted

What I mean by disconnected is...upon entry to the page the first time, we go to the Database, execute a stored procedure, and it will return back a DataSet. The DataSet contains two DataTables and we set up a Parent Child relationship. We bind this DataSet to the WHDG and the page is displayed to the end user. AutoCRUD is off as we do not persist changes on the fly.

The user should be able to make changes in the row cells and use the WHDG built in paging. The changes the user makes would be stored in ViewState and once they are ready, can click a button, a method in the code behind which iterates rows in the grid and then we will save all of the users changes. The issue is when you click to the second page or any page for that matter, you will only see the data from the first page. The desired behavior is the user can make changes to the data on the first page, click on the WHDG paging links to go to the next page, make some more changes, they may possibly go back to the first page where the changes are still in ViewState on the WHDG, and then finally save all of the changes by a click of a button.

Why is the data from the first page seen on all other pages and is not refreshing to the correct page? What needs to be added on a PostBack if anything? We are using VB.NET with VS2010 and Infragistics version 11.1.20111.2036

I would also like to add that if an error does occur on a Save, all of the WHDG formatting is lost! all of the rows and cells shrink up and any Css apears to be lost.

Any help would be appreciated! Thanks

 

  • 1329
    posted

    I should also mention we do have EnableDataViewState = 'true' in the WHDG so that is NOT the issue.