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

GridDropDownColumn with Load On Demand

1 Answer 111 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Quinten
Top achievements
Rank 1
Quinten asked on 28 Nov 2010, 05:10 PM
I've seen the examples showing how to use
AllowAutomaticLoadOnDemand="true" 
for the GridDropDownColumn, but it seems these examples simply do a lazy load of the list and don't allow for auto complete type lookup from the user.

What I am getting at, if they lookup contains 100,000 items, I don't believe there is a way to used the built in load on demand features to allow the user to type a few characters and get back only the items that match their search.

As a work around we've been using a item template with a RadComboBox and the
OnItemsRequested
option used to query the database with the users typed in value as the search parameter.

I am just writing to verify that there is no simpler way to do this with the GridDropDownColumn.

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 29 Nov 2010, 05:37 PM
Hi Patrick,

The GridDropDownColumn uses the same mechanism internally. It attaches to RadComboBox's ItemsRequested event and passes the DataSourceID you have provided for the column. If you need to retrieve your items in a custom manner, the approach you have taken is correct. A GridTemplateColumn with a combo provides you with enough flexibility to do that.

Veli
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Quinten
Top achievements
Rank 1
Answers by
Veli
Telerik team
Share this question
or