No the page load simply has a call to the method DisplayFavoriteURLs. This method's code is below. Do i need to use the If Not Page.IsPostBack and if so, do I use it within the DiplayFavoriteURLs sub or in the Page_load handler code?:
Sub DisplayFavoriteURLs()
If Profile.FavoriteURLs.ToStr
Dim ar As New ArrayList
For Each s As String In Profile.FavoriteURLs
ar.Add(Int32.Parse(s))
Next
ar.Sort()
listFavoriteURLs.DataSourc
listFavoriteURLs.DataBind(
End If
End Sub
Seb
Main Topics
Browse All Topics





by: jpaulinoPosted on 2007-12-24 at 08:07:25ID: 20525063
Do you fill the listbox in the page load event this way ?
If Not Page.IsPostBack Then
' Fill your listbox
End If