Microsoft KB Archive/190946

= BUG: RecordsetNavbar's Datasource Does Not Persist =

Article ID: 190946

Article Last Modified on 3/7/2005

-

APPLIES TO


 * Microsoft Visual InterDev 6.0 Standard Edition

-



This article was previously published under Q190946



SYMPTOMS
On an Active Server Pages (ASP) page with a RecordsetNavbar Design-time control (DTC) and Recordset DTC, the RecordsetNavbar's datasource, as set using the "setDataSource" method, does not persist after the roundtrip to the server.



CAUSE
When you use the "setDataSource" method, you are passing an object as a parameter rather than a string or number. Objects do not persist after the roundtrip to the server.



RESOLUTION
You need to set the datasource for the Recordset DTC in its Custom property pages or upon every load of the page using the "setDataSource" method. The second solution can be done using the thisPage_onenter function.



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.



MORE INFORMATION
function thisPage_onenter {        RSNavbar1.setDataSource(Recordset1); }

Keywords: kbbug kbdatabase kbctrl kbpending KB190946

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.