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

[Solved] requested URL did not return JSON

2 Answers 121 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.
Gerard Eikelboom
Top achievements
Rank 1
Gerard Eikelboom asked on 24 Mar 2011, 03:09 PM
Hi,

I use a Grid with detailview.
When the detailview is opened You can edit the detailview.
In the detailView I have 2 dropdown boxes. They both are bind the Ajax way.
I also have a clientevent "onEdit".
In here the text in the client Grid is matched what i have in my comboBox.

When I click on the edit button in the Grid first I hit the "onEdit" code (javascript) then I come in my controller code to get the items for the dropdown.
For one combo It's no problem the other I got the error message requested URL did not return JSON. I use for both linq 2 Entity and both are filled in the same way. (see picture)
This happens not always but sometimes. That's scary espacially for users. 
After that I just can select the item in the dropdow and contimue with the edit.

When I comment out the onEdit code I don't get the error.
Is it possible that I tries to match the text from the Grid with the text from the dropdowns but the dropdown is not filled???

I hope you can help me with this.

Regards,
Gerard

2 Answers, 1 is accepted

Sort by
0
Gerard Eikelboom
Top achievements
Rank 1
answered on 24 Mar 2011, 05:13 PM
We found out that it happens only in IE(8 / 9)
Works fine in FF, Chrome, Safari.

Gerard
0
Georgi Krustev
Telerik team
answered on 28 Mar 2011, 08:07 AM
Hello Gerard,

 
It is hard to determine where could be the issue. Could you please elaborate more on this problem ? It will be very helpful if you can share some code. The best for us will be to send us a simple test project which reproduces the issue.

Regards,
Georgi Krustev
the Telerik team
Tags
ComboBox
Asked by
Gerard Eikelboom
Top achievements
Rank 1
Answers by
Gerard Eikelboom
Top achievements
Rank 1
Georgi Krustev
Telerik team
Share this question
or