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

DropDownList data reload

2 Answers 251 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Maxim
Top achievements
Rank 1
Maxim asked on 13 Mar 2012, 03:50 AM
Hi,

How do you force DropDownList to re query data from the server. The only way I could get it to work is by using code below:
ddl.dataSource.data([]);
ddl.dataSource.fetch();
There got to be a better way.
Also using larger font size distorts drop down button of this ui widget. vertical alignment does not seem to work with span elements. I personally prefer table solution of your MVC.


2 Answers, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 13 Mar 2012, 01:01 PM
Hello Maxim,

 
I believe that you need to call read() method of the datasource. Check this help topic for more information.

Kind regards,
Georgi Krustev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Maxim
Top achievements
Rank 1
answered on 13 Mar 2012, 02:15 PM
im am shure i did it and it did not work. it refused to reload it self. i will try again and let you know.
Tags
ComboBox
Asked by
Maxim
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Maxim
Top achievements
Rank 1
Share this question
or