or
<telerik:RadComboBox ID="cboLocalita"
EnableVirtualScrolling="true"
OnItemsRequested="cboLocalita_ItemsRequested"
ShowMoreResultsBox="true"
EnableLoadOnDemand="true"
DataTextField ="descrizione"
DataValueField ="idlocalita"
runat="server">
</telerik:RadComboBox>
Protected Sub cboLocalita_ItemsRequested(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs) Dim context As New JLogTabelleDataContext Dim allLocalita = From localita In context.localita _ Order By localita.descrizione _ Select localita If Not [String].IsNullOrEmpty(e.Text) Then allLocalita = From localita In context.localita _ Where localita.descrizione.StartsWith(e.Text) _ Order By localita.descrizione _ Select localita End If Dim Lstlocalita = allLocalita.Skip(e.NumberOfItems).Take(10) CType(o, RadComboBox).DataSource = Lstlocalita CType(o, RadComboBox).DataBind() Dim endOffset As Integer = e.NumberOfItems + Lstlocalita.Count() Dim totalCount As Integer = allLocalita.Count() If endOffset = totalCount Then e.EndOfItems = True End If e.Message = [String].Format("Rec <b>1</b>-<b>{0}</b> Tot <b>{1}</b>", endOffset, totalCount)End SubName <span class='required'>*</span>txtT.Label = Required ? string.Format("{0} <span class='required'>*</span>", value) : value;