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

Parents
  • 20255
    Offline posted

    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.

    ComboMultiSelection.zip
Reply Children