PRB: Grid DTC's Underlying Recordset Changes are LostID: Q190674
|
Any changes made to the current record of the Grid DTC's underlying recordset will be lost when one of the Grid DTC's navigation buttons is clicked. Thus, if you make changes to the values in DTC's bound to the same Recordset as the Grid, and click a navigation button, the underlying Recordset will not be updated.
The updateOnMove properties of the two intrinsic Recordset Navbars of the Grid DTC are set to false by default.
The Grid DTC exposes the getPagingNavBar() and getRecordsetNavbar() methods to allow you to script against its intrinsic Recordset Navbars. You can use these two methods to turn on the updateOnMove property of the Recordset Navbars.
This behavior is by design.
<SCRIPT LANGUAGE=JavaScript RUNAT=Server>
function thisPage_onenter() {
Grid1.getPagingNavbar().updateOnMove = true;
Grid1.getRecordsetNavbar().updateOnMove = true;
}
</SCRIPT>
Additional query words:
Keywords : kbCtrl kbVisID600 kbGrpASP
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 13, 1999