Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
195
Asp.net MVC igCombo JavaScript Error
posted

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