Silverlight RIA Services and AutoCompleteBox


 

One of the controls available in the Silverlight Toolkit is the AutoCompleteBox. This represents a control that provides a text box for user input and a drop-down that contains possible matches based on the input in the text box. When this is used in conjunction with RIA Services, you have a complex solution with minimum code. Before starting you must download the Silverlight Toolkit and RIA Services July 2009 preview.

image

image

image

The file is created. A default method called GetCustomers has been created for you:

public IQueryable<Customer> GetCustomers()

{   return this.Context.Customers;  }

image

Via Silverlight RIA Services and AutoCompleteBox

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s