This question is locked. New answers and comments are not allowed.
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
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