BUG: getRecordsetNavbar and getPagingNavbar Methods Do Not Work

ID: Q190585


The information in this article applies to:


SYMPTOMS

When writing script to access the DTC Grid's navbar, the getRecordsetNavbar and getPagingNavbar methods do not seem to work even though statement completion for the navbar gives the impression that the code entered is correct.


CAUSE

The reason typing "Grid.getRecordsetNavbar" or "Grid.getPagingNavbar" does not work is that these methods are written in Javascript and need parentheses at the end so they will return an object. It is possible to get statement completion for the navbar's methods and properties with or without the parentheses, but the code will not work without them.


RESOLUTION

Make sure you put parenthesis at the end of each of the Grid's methods. Instead of typing "Grid.getRecordsetNavbar.updateOnMove", type "Grid.getRecordsetNavbar().updateOnMove".


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.

Additional query words:


Keywords          : kbVisID600 kbVisID600bug kbGrpASP 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 13, 1999