I am dealing with a situation that I need some help with here. I need to improve performance on functionality that records and updates UI with user selection info. What my code current does is
'This is called to update the Database each time the user
'makes a new selection on the UI
Private Sub OnFilterChanged(String newReviewValueToAdd)
AddRecentViewToDB(newReviewValueToAdd)
UpdateRecentViewsUI()
PageReviewGrid.Rebind()'Call Grid Rebind
End Sub
'This is the code that handles updating the UI with the Updated selection
Private Sub UpdateRecentViewsUI()
Dim rlNode As RadTreeNode = radTree.FindNodeByValue("myreviewnode")
Dim Obj As Setting
Dim treenode As RadTreeNode
For i As Integer = 0 To Count - 1
Obj = Setting.Review.Item(i)
treenode = New RadTreeNode(datetime.now.ToString,i.ToString())
treenode.ToolTip = obj.GetFilter
radNode1.Nodes.Add(treenode)
Next
End Sub