AutoGenerateColumns in ComboBox

2 posts, 0 answers
  1. Sami
    Sami avatar
    2 posts
    Member since:
    Jan 2015

    Posted 06 May 2015 Link to this post

    Hello,

    I want to translate project built by DevExpress into Telerik, So I looking To corresponding features and functions, and my project is a fully dynamic controls and dynamic data source and a fully ajax treatment after rendering the controls as HTML and CSS,my code in DevExpress 

     newcontrol = new ASPxGridLookup();

    (newcontrol as ASPxGridLookup).DataSource = rep.GetDataSource(ListQuery, "", ""); //ListQuery = select * from ...

    (newcontrol as ASPxGridLookup).KeyFieldName = ListID; //ListID = "ID" for all tables

    (newcontrol as ASPxGridLookup).AutoGenerateColumns = true; 

    (newcontrol as ASPxGridLookup).IncrementalFilteringMode = IncrementalFilteringMode.Contains;

    (newcontrol as ASPxGridLookup).DataBind();

     

     the code above will give me something like the link below with AutoGenerateColumns  and auto design  width & height

    https://demos.devexpress.com/ASPxGridViewDemos/ASPxGridLookup/FilterServerMode.aspx 

    I see that you have this below but not easy as the above code (is it right corresponding? )

    http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx

    or this

    http://www.telerik.com/support/code-library/dynamic-multi-column-template

     I need it without any PostBack with auto design for dynamic tables and fields

    So please I need the help to move to Telerik UI (ASP.net).

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    829 posts

    Posted 11 May 2015 Link to this post

    Hello,

    The DevExpress Grid Lookup combines the functionality of the GridView and DropDownEdit.

    You can achieve similar functionality with our controls by using the RadGrid and RadComboBox controls. Please find linked our Load-on-demand RadGrid in RadComboBox documentation article, which presents an exemplary implementation of this functionality. This approach is a further extension of the multi-column ComboBox feature you linked in your post.

    Regards,
    Ivan Danchev
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top