Hi IG,
I am having issues displaying data in ItemTemplate. The fix described in this post http://ko.infragistics.com/community/forums/p/67312/340703.aspx#340703 did not work for me.I am using MVC helper as following:
@(Html.Infragistics().Combo("subTaskDropdown", this.Model)
.ValueKey("Id")
.TextKey("Name")
.CompactData(false)
.DataSourceUrl("subtask-combo-data")
.DataBind().FilteringType(ComboFilteringType.Local)
.RenderMatchItemsCondition(ComboRenderMatchItemsCondition.Contains)
.FilteringCondition("contains")
.CaseSensitive(false)
.AutoComplete(false)
.DropDownWidth(300)
.Width("300")
.CascadingSettings(settings => settings.ParentComboID("#taskDropdown").ParentComboKey("TaskId"))
.AddClientEvent("filtered", "subtaskFiltered")
.AddClientEvent("selectionChanged", "subtaskSelectionChanged")
.NullText("Select SubTask:")
.ItemTemplate("<span class='ComboText'>${Name}</span><span>${OperationType}</span>")
.Render()
The "OperationType" value in item template is never displayed, no matter how I specify the template. I can only see data items specified as value and key, so CompactData(false) does not work here.Controller code returns data source with OperationType always populated.What am I missing?Thanks
Hello Nikolay Sitnikov,
Can you please ensure that infragistics.templating.js is referenced ?
Regards,
Deyan Kamburov
Infragistics, Inc
Please contact me if anything regarding this matter arise.
Sincerely,
I found another solution for this issue in my app, but thanks for your response.
Hi, Nikolay.
I'm glad to hear that. If you have the time to share the solution it will be great. In this case another users will have the chance to see the solution, if they had similar problem.
Thank you again for using our product.
Best regards,
Nikolay Alipiev