I found following problem:
I have one main view MainView with two different partial views ViewOne and ViewTwo returned to the main view by separate @HTML.RenderAction(Action, controller) methods from different controllers . The partial views renders Ajax form with model fields in the first view and KendoDataGrid in the second partial view.Both views uses different data models but one field in each model has the same name. eg ForeignKey_ID.
When I try to edit a row in the second view (data grid) the row goes to edit state but instead of a dropdown with names/labels for ForeignKey_ID a text box with default id numerical value appears. In the same time missing dropdown shows up just by the dropdown for ForeignKey_ID field in the first partial view (Ajax form)
I tried to use different field in the second view (datagrid) so there was no the same field name in the whole page and then expected dropdown with dictionary values shown up properly.
It can be solved by changing affected field name in the model.
Is there any other solution for this ?
ForeignKey_ID