When I use the combo MVC helper in my page then I get a javascript error that igcombo is not found on the same page if I put the igCombo javascript tag then it works fine. I am not sure why combo MVC helper does not work. Here is it how I am using it:
@(Html.Infragistics().Combo()
.ID("FileId")
.Width("200 px")
.MultiSelectionSettings(ms =>
{
ms.Enabled(true);
ms.ShowCheckBoxes(true);
})
.ValueKey("FileId")
.TextKey("Name")
.DataSourceUrl(Url.Action("scripts-combo-data"))
.DataBind()
.Render()
)
Now the code that works is the following:
$("#checkboxSelectCombo").igCombo({
width: "270px",
dataSource: colors,
textKey: "Name",
valueKey: "Name",
multiSelection: {
enabled: true,
showCheckboxes: true
}
});
Hi,
I'm just following up to see if you had the time to provide the requested information or if you have been able to resolve your issue.
Could you please share the jQuery code rendered by the MVC helper and copy/paste the error that is displayed in the browser console. Also, please share what version of IgniteUI you are using. Meanwhile I hope you can benefit from the online sample at http://www.igniteui.com/combo/aspnet-mvc-helper demonstrating how to benefit from igCombo MVC helpers in 15.1