We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Refreshing problem in GridDataBoundGrids inside different tab pages

Thread ID:

Created:

Updated:

Platform:

Replies:

35395 Sep 29,2005 01:24 AM Sep 29,2005 09:34 AM Windows Forms 2
loading
Tags: GridControl
Eric Pang
Asked On September 29, 2005 01:24 AM

Hi, If i create two gridDataBoundGrids, each located in a tab page, with datasource of separate DataView instances (but pointing to the same dataTable), changes on dataTable cannot be populate to grid. However, if i get 1 tab 1 grid only or 1 tab 2 grids, changes can be populate and reflect on screen. Thx Eric

Eric Pang
Replied On September 29, 2005 01:36 AM

The error occuried when i load form (without switching to 2nd tab page) and changes occuried. But, i switch to 2nd tab before updated arrived, changes can be populate to grids in both tab. Are there any function i shall invoke when the form is loaded? Seems sth has been done on the grid instance when i switch to 2nd tab and activate the grid

stanleyj [Syncfusion]
Replied On September 29, 2005 09:34 AM

Hi Eric, I guess calling AcceptChanges of the dataset.table in the SelectedIndexChanged handler would solve this problem. Best regards, Stanley

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;