Here is my code
<telerik:RadAutoCompleteBox ID="racdBookingSource" Runat="server" AllowCustomEntry="true">
</telerik:RadAutoCompleteBox>
public static List<object> GetBookingSource()
{
CandFEntities context = new CandFEntities();
return context.Bookings.GroupBy(p => p.Booking_Source).OrderBy(m => m.Key).Select(r => r.Key).ToList<object>();
}
protected void Page_Load(object sender, EventArgs e)
{
racdBookingSource.DataSource = BookingDataManager.GetBookingSource();
racdBookingSource.DataBind();
}
But when i try to enter data to text box its raise error with sum asci data
<telerik:RadAutoCompleteBox ID="racdBookingSource" Runat="server" AllowCustomEntry="true">
</telerik:RadAutoCompleteBox>
public static List<object> GetBookingSource()
{
CandFEntities context = new CandFEntities();
return context.Bookings.GroupBy(p => p.Booking_Source).OrderBy(m => m.Key).Select(r => r.Key).ToList<object>();
}
protected void Page_Load(object sender, EventArgs e)
{
racdBookingSource.DataSource = BookingDataManager.GetBookingSource();
racdBookingSource.DataBind();
}
But when i try to enter data to text box its raise error with sum asci data