This is a migrated thread and some comments may be shown as answers.

Combobox Load on demand problems

7 Answers 172 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 11 Apr 2013, 03:36 PM
I am trying to get the combobox to load on demand and be searchable but am having problems.  I have followed the demos but can get it to work.
Here is what I have.

Aspx page:

<telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="True" CollapseDelay="0"
                            ExpandDelay="0" Filter="StartsWith" ItemsPerRequest="10"
                            MarkFirstMatch="true" EnableAutomaticLoadOnDemand="True" EmptyMessage="-New Menu-"
                            ShowMoreResultsBox="True" EnableItemCaching="false" EnableLoadOnDemand="True" EnableVirtualScrolling="True">
                            <HeaderTemplate>
                                <table style="width: 275px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 175px; height: 13px">Name
                                        </td>
                                        <td style="width: 60px; height: 13px">ID
                                        </td>
                                        <td style="width: 40px; height: 13px">Grade
                                        </td>
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table style="width: 275px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 175px;">
                                            <%# DataBinder.Eval(Container.DataItem, "FullName")%>
                                        </td>
                                        <td style="width: 60px;">
                                            <%# DataBinder.Eval(Container.DataItem, "StudentID")%>
                                        </td>
                                        <td style="width: 40px;">
                                            <%# DataBinder.Eval(Container.DataItem, "DisplayGrade")%>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </telerik:RadComboBox>

C# to bind
RadComboBox1.DataTextField = "FullName";
    RadComboBox1.DataValueField = "StudentID";
    RadComboBox1.DataSource = dt_students;
    RadComboBox1.DataBind();


I get this error when I click on it.
"There was an error in the callback.s[]_$$__$$__$$_False_$$_"

Any help would be great thank you.
Matt

7 Answers, 1 is accepted

Sort by
0
Matt
Top achievements
Rank 1
answered on 11 Apr 2013, 07:55 PM
Can someone help we are trying to decide if we are going to buy this software.
Matt
0
Nencho
Telerik team
answered on 12 Apr 2013, 12:48 PM
Hello Matt,

I noticed that you had submitted 2 similar tickets. Therefor, I would like to ask you to continue our conversation in the other ticket (Ticket ID - 681636), in order to keep the correspondence consistent.

All the best,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Salim
Top achievements
Rank 1
answered on 02 Nov 2015, 08:11 PM
I have a similar issue, is there any resolution ?
0
Mary
Top achievements
Rank 1
answered on 29 Sep 2016, 10:43 AM

I am getting this error on the latest version 

If ajax is enabled and any other ajax event has occurred entering text in the combo box this error is dipslayed

There was an error in the callback.s[]_$$__$$__$$_False_$$_

0
Nencho
Telerik team
answered on 04 Oct 2016, 09:00 AM
Hello Mary,

Do you use the RadComboBox in some UserControl, nested in your page? If so, please make sure that if it is dynamically added on your page, it should be recreated on each Page_load. This is needed, because the ComboBox' LOD feature triggers callbacks, and if the control is not added at each Page_Load, it won't be able ti find its callbacks owners.

However, if this is not the case, please demonstrate us the implementation that you have at your end.

Regards,
Nencho
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Mary
Top achievements
Rank 1
answered on 11 Oct 2016, 01:08 PM
I am using the combo box in a user control but this code has been working for a number of years.  I reverted to the previous telerik version and it is still occurring
0
Nencho
Telerik team
answered on 13 Oct 2016, 01:06 PM
Hello Merry,

Could you please submit a support ticket, along with am sample example attached, where the experienced issue replicates. The LOD mechanism which works upon callbacks should be the same as when he was initially implemented. This is why, having the issue occurred once the version was updated is quite strange.

I am looking forward to your reply.

Regards,
Nencho
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
ComboBox
Asked by
Matt
Top achievements
Rank 1
Answers by
Matt
Top achievements
Rank 1
Nencho
Telerik team
Salim
Top achievements
Rank 1
Mary
Top achievements
Rank 1
Share this question
or