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

AutoGenerateColumns in ComboBox

1 Answer 135 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Sami
Top achievements
Rank 1
Sami asked on 06 May 2015, 07:50 PM

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).

1 Answer, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 11 May 2015, 11:59 AM
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.

 
Tags
ComboBox
Asked by
Sami
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Share this question
or