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
Hello,
Thank you for contacting us, your code seems fine. Could you please let me know which version of our product you are using. I have created a sample in order to try to reproduce the JS runtime error, although I couldn't. Please have a look at the sample and let me know if it is showing the error on your side.
About the span tag, it is expected to be in span tag, and not select tag.
Looking forward to hearing from you.
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)
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.
Looking forward for your reply.