View Single Post
  #2 (permalink)  
Old March 1st, 2006, 03:28 PM
rstelma rstelma is offline
Friend of Wrox
Points: 2,101, Level: 18
Points: 2,101, Level: 18 Points: 2,101, Level: 18 Points: 2,101, Level: 18
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2003
Location: , , .
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
Default

Added this to the page and it seems to have resolved the problem. Now the page posts back to refill the list boxes immediately.

    Private Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.PreRender
        Dim dgi As DataGridItem
        For Each dgi In grdInventory.Items
            dgi.EnableViewState = False
        Next
    End Sub