BUG: RecordsetNavbar's Datasource Does Not Persist (190946)
The information in this article applies to:
- Microsoft Visual InterDev 6.0
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.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbBug kbCtrl kbDatabase kbpending KB190946 |
---|
|