Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stuck without Navigation
Message
From
10/03/2005 16:58:41
 
 
To
10/03/2005 15:58:30
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00994596
Message ID:
00994651
Views:
17
That was useful to understand how I can manually raise these events....
However, aparantly I am not really navigating the data as I presumed previously.

I just tried the following
    Private Sub CompanySelectionUltraCombo_ValueChanged _
    (ByVal sender As Object, ByVal e As System.EventArgs) _
    Handles CompanySelectionUltraCombo.ValueChanged

        Dim companySelectedRowIndex As Integer = _
            Me.CompanySelectionUltraCombo.SelectedRow.Index
        Me.BindingContext.Item(oCompanyList).Position() = companySelectedRowIndex
        Me.oCompanyList.CallStateChange(mmBusinessState.Navigated)

    End Sub
When the state change was called it correctly called my Business Object's HookParentNavigated HOWEVER, the value of e.PrimaryKevValue is not changing to match the value selected in the ComboBox.
    ' Parent Navigated hook method
    Protected Overrides Sub HookParentNavigated _
    (ByVal bizObj As mmBusinessObject, ByVal e As mmBusinessStateChangeEventArgs)
        Me.GetCompanyByCompanyId(e.PrimaryKeyValue)
    End Sub
I am apartently missing a binding process somewhere...
Do I have to rebind the control after the selected index changes or what else should I consider?
THANKS
Joe Salvatore, Programmer/Analyst - The Stellar Group
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform