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

Load on demand issue with MVC 4

2 Answers 34 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex Galie
Top achievements
Rank 2
Alex Galie asked on 04 Sep 2012, 08:50 AM
Hi,

I recently migrated an MVC 3 project to MVC 4 and, among other things, my load on demand dropdowns that are bound to a WCF service do not pull data when using reload() client method (this worked previously).

I'm removing/adding items dynamically in javascript in some pages and sometimes I need to refresh data from server. Before upgrading, this worked with this method:

function rebindCombo(combo) {
    if (combo) {
        combo.text('');
        combo.value('');
        combo.reload();
    }
}

Now, the only apparent way to get data is to type something in the dropdown but I need this without user input.

Thanks

2 Answers, 1 is accepted

Sort by
0
Alex Galie
Top achievements
Rank 2
answered on 04 Sep 2012, 08:51 AM
Forgot to mention, the version is 2012.2.607
0
Georgi Krustev
Telerik team
answered on 10 Sep 2012, 09:41 AM
Hello Alex,

 
This is not a known issue. The ComboBox will make POST request to the server. Is it possible the migrated service does not allow POST requests ? If the problem still persists I will need a test project, which replicates the issue.

All the best,
Georgi Krustev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.
Tags
ComboBox
Asked by
Alex Galie
Top achievements
Rank 2
Answers by
Alex Galie
Top achievements
Rank 2
Georgi Krustev
Telerik team
Share this question
or