I am using a RadTabStrip, one of the dropdown boxes is loaded depending on a previous tab's controls (depending on what the user selects on a previous tab)
I have it set up with a TabStrip, MultiPageView and PageViews.
I used the RadTabStrip Unload event to figure out which tab is currently being viewed and load the dropdown box as follows:
Protected
Sub
RadTabStrip1_Unload(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
RadTabStrip1.Unload
Select
Case
RadTabStrip1.SelectedTab.Text
Case
"Case Info"
Case
"Client Info"
Case
"Experts"
Case
"Letter Details"
'get office phone numbers
Dim
db
As
New
RFIDataContext
Dim
q = (From o
In
db.Offices _
Where o.OfficeId = rcbOffice.SelectedValue _
Select
o.Fax, o.Fax2, o.Fax3).First
With
q
If
Not
IsNothing(q.Fax)
Then
If
q.Fax.Trim <>
String
.Empty
Then
ddlFaxes.Items.Add(FormatPhoneDots(q.Fax))
End
If
End
If
If
Not
IsNothing(q.Fax2)
Then
If
q.Fax2.Trim <>
String
.Empty
Then
ddlFaxes.Items.Add(FormatPhoneDots(q.Fax2))
End
If
End
If
If
Not
IsNothing(q.Fax3)
Then
If
q.Fax3.Trim <>
String
.Empty
Then
ddlFaxes.Items.Add(FormatPhoneDots(q.Fax3))
End
If
End
If
End
With
Case
"Sign & Save"
End
Select
The problem is that the dropdown box is still empty. The event fires and the data is pulled and loaded but not updated on the page. (I confirmed through debugging that everything works above just nothing is visually loaded)
What am I missing?
Coty