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

Combobox Not working at all

3 Answers 81 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
John Bachus
Top achievements
Rank 1
John Bachus asked on 16 Apr 2010, 06:05 PM
I have looked at all the samples and decided the one theat was displayed with the entity datasource would work perfect
Except it does not work at all.
The code below is exactly the same as the demo. It shows all the items after clicking if you give it five minutes or so even thoughtit is in a radajaxpanel and I have tried with a cached Datatable as well nothing seems to work. It is getting very frustrating. I am not sure what the problem is there are 2,700+ but that should display in a few seconds flat especially with a cached datatable...It does not do anything like what the samples are displaying, and I have a project to get done in a short period.
Example

 

<telerik:RadComboBox ID="cboAgent" runat="server" DataSourceID="SqlDataSource1" DataTextField="AgentsName" DataValueField="AgentID" EnableAutomaticLoadOnDemand="True" ItemsPerRequest="10" ShowMoreResultsBox="true" EnableVirtualScrolling="true" />

 

 

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dbLookUpsConnection %>" SelectCommand="sp_HomeInfoLine_GetAgents" SelectCommandType="StoredProcedure"></asp:SqlDataSource>

 

Ok so I went back to the demo and the linqDatasource one does not work either it sticks on loading and never comes back. the enitydatasource one works great on the site but not here

 

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 21 Apr 2010, 01:29 PM
Hello John Bachus,

I verified that both RadComboBoxes in this demo work as expected.

Moreover the first RCB in this demo worked flawlessly with 5000+ records coming from an SqlDataSource and was no slower than the other RCBs on the page.

Can you please use enable the 'classic' Load On Demand on your RCB and use the code in the ItemsRequested event handler from the last demo? Does the control work faster in this way?

Sincerely yours,
Simon
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
John Bachus
Top achievements
Rank 1
answered on 21 Apr 2010, 03:15 PM
Thanks for taking a look at this, I have already done the Classic way and that works fine. I did try both at work and at home to get this to work I tried the eact demo you had using the sql data source and the company name from Northwind but using the EnableAutomaticLoadOnDemand did not work it could be possible that I did not set the height but I think I tried setting the height to a short distance and it still did nothing. just dropped down the list and added a scroll bar nothing else functioned as in the demos like type ahead or even just typing a letter did not position the combobox to an item.
0
Simon
Telerik team
answered on 21 Apr 2010, 04:52 PM
Hi John Bachus,

Indeed not setting the Height property will prevent all Virtual Scrolling.

Can you please confirm that after setting the Height property, the RadComboBox is still not working?

All the best,
Simon
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
ComboBox
Asked by
John Bachus
Top achievements
Rank 1
Answers by
Simon
Telerik team
John Bachus
Top achievements
Rank 1
Share this question
or