G
Guest
I have a popup window, which consist of a combobox. And, the combobox's item
collection is filled by records in database. Whereas, when I close the popup
window and add more records into the database, then open that popup window
again, but the combobox won't show those new records. I suspect that the
content of the popup window is being cached and won't refresh. Is that so?
Please help...thanks.
FYI, following is my page_load code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim strAdomdConnectionString As String
Try
If Not Me.IsPostBack Then
Me.btnOK.Attributes.Add("onclick", "Done('" &
txtConnectionString.Text & "');")
FillDatabaseCombobox()
With mdtsAnalysisDB.Tables(0).Rows(cboDatabase.SelectedIndex)
strAdomdConnectionString =
BuildAdomdConnectionString(CStr(.Item("ServerName")),
CStr(.Item("AnalysisDBName")), CStr(.Item("UserName")),
CStr(.Item("Password")))
End With
FillCubeCombox(strAdomdConnectionString)
End If
Catch ex As Exception
Throw New ApplicationException(ex.Message.ToString)
End Try
End Sub
collection is filled by records in database. Whereas, when I close the popup
window and add more records into the database, then open that popup window
again, but the combobox won't show those new records. I suspect that the
content of the popup window is being cached and won't refresh. Is that so?
Please help...thanks.
FYI, following is my page_load code:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim strAdomdConnectionString As String
Try
If Not Me.IsPostBack Then
Me.btnOK.Attributes.Add("onclick", "Done('" &
txtConnectionString.Text & "');")
FillDatabaseCombobox()
With mdtsAnalysisDB.Tables(0).Rows(cboDatabase.SelectedIndex)
strAdomdConnectionString =
BuildAdomdConnectionString(CStr(.Item("ServerName")),
CStr(.Item("AnalysisDBName")), CStr(.Item("UserName")),
CStr(.Item("Password")))
End With
FillCubeCombox(strAdomdConnectionString)
End If
Catch ex As Exception
Throw New ApplicationException(ex.Message.ToString)
End Try
End Sub