GridDropDownColumn with Load On Demand

2 posts, 0 answers
  1. Chris May IT Team Lead
    Chris May IT Team Lead avatar
    31 posts
    Member since:
    Nov 2009

    Posted 28 Nov 2010 Link to this post

    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.
  2. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 29 Nov 2010 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top