In the version infragistics 16.1 in my razor web page I have multiselection combo with checkbox and selectevalues by property model (array of string)
@Html.Infragistics().ComboFor(m => m.Reparto).ID("comboReparto").DataSourceUrl("GetComboReparto").SelectedValues(Model.RepartiSel).TextKey("Codice").ValueKey("Codice").ItemTemplate("<span class='comboItem'>${Codice} - ${Descr}</span>").MultiSelection(ComboMultiSelection.OnWithCheckboxes).DataBind().DropDownWidth(300).Width("200px").Render()
In the version 17.2 how can I do?
Hello Aldo,
It is normal to lose to selection when you change the dataSource of the component because the component could not know what the dataSource would be so there is no logic to leave the selection of the unknown coming data.
I see that you are trying to achieve the approach of the cascading combo so you can refer to the sample and try to apply it into you application.
As far as I understand this was your questions. If you have more, please give me more descriptions and clear information of what are your struggles.
I'm looking forward your reply.
Now I can selected values and filter grid but with another combobox with datasource filtered by values of first combox not selected values by model
show the upload file
https://drive.google.com/open?id=1nE4vx0T56kZmp-WCLM4e1VxU-bTxj5S5
HELLO the grid does not contain a combobox but only data filtered with respect to the choice above. I'm trying to prepare a separate little program thank you
Could you please be more precise?
Are the combo is in the grid? Does the Ajax call is connected only to the grid or it affects the combo too?
It will be highly appreciate if you could send me an isolated working sample which reproduce the issue, because I'm unable the guess what exactly is your approach.
hello, with your example I managed to load the selected values. I have the problem now that at the time of the Ajax call to load the grid, the comboboxes lose the selectionWhy?Thank youSilvia