Hi,
I am using the following code for my multi select with checkboxes combox box.
@(Html.Infragistics().ComboFor(model => model.FileData.FileId)
.Width("200 px")
.MultiSelectionSettings(ms =>
{
ms.Enabled(true);
ms.ShowCheckBoxes(true);
})
.ValueKey("FileId")
.TextKey("Name")
.DataSourceUrl(Url.Action("scripts-combo-data"))
.DataBind()
.Render()
)
I get an error that igCombo - JavaScript runtime error. When I look at the html, the combox in html is being generated as a span tag and not html select tag. I do not know why I am getting this error.
Mir
Looking forward for your reply.
This is because you should change the reference that is in the project, or to set Specific Version to false in order to get the dll from the GAC.
I also wanted to share with you the css and js files that are loading on the page.
<link href="/Content/bootstrap.css" rel="stylesheet"/>
<link href="/Content/site.css" rel="stylesheet"/>
<link href="/Content/themes/base/accordion.css" rel="stylesheet"/>
<link href="/Content/themes/base/all.css" rel="stylesheet"/>
<link href="/Content/themes/base/autocomplete.css" rel="stylesheet"/>
<link href="/Content/themes/base/base.css" rel="stylesheet"/>
<link href="/Content/themes/base/button.css" rel="stylesheet"/>
<link href="/Content/themes/base/core.css" rel="stylesheet"/>
<link href="/Content/themes/base/datepicker.css" rel="stylesheet"/>
<link href="/Content/themes/base/dialog.css" rel="stylesheet"/>
<link href="/Content/themes/base/draggable.css" rel="stylesheet"/>
<link href="/Content/themes/base/menu.css" rel="stylesheet"/>
<link href="/Content/themes/base/progressbar.css" rel="stylesheet"/>
<link href="/Content/themes/base/resizable.css" rel="stylesheet"/>
<link href="/Content/themes/base/selectable.css" rel="stylesheet"/>
<link href="/Content/themes/base/selectmenu.css" rel="stylesheet"/>
<link href="/Content/themes/base/slider.css" rel="stylesheet"/>
<link href="/Content/themes/base/sortable.css" rel="stylesheet"/>
<link href="/Content/themes/base/spinner.css" rel="stylesheet"/>
<link href="/Content/themes/base/tabs.css" rel="stylesheet"/>
<link href="/Content/themes/base/theme.css" rel="stylesheet"/>
<link href="/Content/themes/base/tooltip.css" rel="stylesheet"/>
<link href="/css/themes/metro/infragistics.theme.css" rel="stylesheet" type="text/css" />
<link href="/css/structure/infragistics.css" rel="stylesheet" type="text/css" />
<script src="/Scripts/modernizr-2.8.3.js"></script>
<script src="/Scripts/jquery-2.1.4.js"></script>
<script src="/Scripts/bootstrap.js"></script>
<script src="/Scripts/respond.js"></script>
<script src="/Scripts/jquery-ui-1.11.4.js"></script>
<script src="/js/infragistics.core.js"></script>
<script src="/js/infragistics.lob.js"></script>
Thanks for your help.
I have also tried to run the project that you provided in Visual Studio 2013. I get the following error when I run the project. I have verified that the dll is in the bin folder but still get this error.
Could not load file or assembly 'Infragistics.Web.Mvc' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
Hi Zdravko,
I am using the latest version 2015.1.