P
Plateriot
I have 3 Tabs (TabContainer - AJAX)
I've successfully ben able to retain the tab that the user selects so that
the same tab is selected on different pages...
now...
What I really need to be able to do is keep the 'Item' that a user selects
which is in the 2nd tab. - in this case, that Item is a Clinic.
This is what is in my Load Event
.....
'keep whatever tab the user has selected
Tabs.ActiveTabIndex = Session("ssTab")
''IF APPROPRIATE, CONTINUE WITH THE CLINIC THE USER HAS SELECTED
Dim li As ListItem
li =
Me.cmbClinicPCPAtClinic.Items.FindByValue(Session("ssClinic"))
If li IsNot Nothing Then
li.Selected = True
End If
.....
for some reason, either the combo box "cmbClinicPCPAtClinic" is empty at the
moment I try to set the value... OR the Session is null...
which I have proven that it is not by using a Label to test if it actually
has a value.
I cannot set the value of the dropdown box even if I hardcode the value:
li = Me.cmbClinicPCPAtClinic.Items.FindByValue("HON")
Is there something in the TabContainer control that makes a combo box appear
not to be filled during an asynchronous postback?
I've successfully ben able to retain the tab that the user selects so that
the same tab is selected on different pages...
now...
What I really need to be able to do is keep the 'Item' that a user selects
which is in the 2nd tab. - in this case, that Item is a Clinic.
This is what is in my Load Event
.....
'keep whatever tab the user has selected
Tabs.ActiveTabIndex = Session("ssTab")
''IF APPROPRIATE, CONTINUE WITH THE CLINIC THE USER HAS SELECTED
Dim li As ListItem
li =
Me.cmbClinicPCPAtClinic.Items.FindByValue(Session("ssClinic"))
If li IsNot Nothing Then
li.Selected = True
End If
.....
for some reason, either the combo box "cmbClinicPCPAtClinic" is empty at the
moment I try to set the value... OR the Session is null...
which I have proven that it is not by using a Label to test if it actually
has a value.
I cannot set the value of the dropdown box even if I hardcode the value:
li = Me.cmbClinicPCPAtClinic.Items.FindByValue("HON")
Is there something in the TabContainer control that makes a combo box appear
not to be filled during an asynchronous postback?