Release
If you have been using RadComboBox frequently in your projects, you have probably written the following or very similar code many times: protected void RadComboBox1_ItemsRequested(object sender,
RadComboBoxItemsRequestedEventArgs e)
{
SqlDataAdapter adapter = new SqlDataAdapter(
"SELECT * from Customers WHERE CompanyName LIKE @text + '%'",
ConfigurationManager.ConnectionStrings["NorthwindConnectionString"]
.ConnectionString);
adapter.SelectCommand.Parameters.AddWithValue("@text", e.Text);
DataTable data = new DataTable();
adapter.Fill(data);
int itemOffset = e.NumberOfItems;
int endOffset = Math.Min(itemOffset + ItemsPerRequest, data.Rows.Count);
e.EndOfItems = endOffset ==...