public class WcfInstantFeedbackSource :
Public Class WcfInstantFeedbackSource
Instant Feedback binding mode is an improvement over regular server mode. In server mode, the Grid Control loads data in small portions and delegates all data operations (sorting, grouping, filtering and calculating summaries) to the data server. This is the key to the server mode's high efficiency when working with large volumes of data. The only drawback to using server mode involves data operations when the connection to the server is slow. In this instance, the bound control freezes until the data server completes operations and retrieves results. With Instant Feedback binding mode, data operations are performed asynchronously in a background thread, and both the bound control and the application remain highly responsive. Currently, this mode is supported by the GridControl and SearchLookUpEdit controls.
Partial Public Class Form1
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
wcfInstantFeedbackSource1.KeyExpression = "CustomerID"
AddHandler wcfInstantFeedbackSource1.GetSource, AddressOf wcfInstantFeedbackSource1_GetSource
gridControl1.DataSource = wcfInstantFeedbackSource1
Private Sub wcfInstantFeedbackSource1_GetSource(ByVal sender As Object, ByVal e As GetSourceEventArgs)
' DataServiceContext myDataServiceContext = ...
e.Query = myDataServiceContext.Customers