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
310
igCombo filtering issue
posted

Hello,

I am trying to render a combo using the following:-

            @Html.LabelFor(model => model.Source, new { @class = "editor-label" })
            @(Html.Infragistics().ComboFor(model => model.Source)
                .ID("ProcedureCombo")
                .Mode(ComboMode.Editable)
                .HtmlAttributes(new Dictionary<stringobject> { { "class""editor-field" } })
                .Width("205px")
                .FilteringType(ComboFilteringType.Local)
                .FilteringCondition("startsWith")
                .RenderMatchItemsCondition(ComboRenderMatchItemsCondition.StartsWith)
                .AutoComplete(true)
                .DataSource(ViewBag.Datasources)
                .DataBind()
                .Render())

When the combo is rendered to a model with an existing value and the combo box is opened, the only item in the list is the one which is selected

If you clear the combos value then the intended behavior returns, and the full contents of the list are displayed.

Is this a known issue or am I doing something wrong?

Thanks,

Sean