Hi i am trying to bind the child control from parent control but nothing ig happening when i am doing selection change in parent control.
@(Html.Infragistics().Combo(groupControl.ControlName, groupControl.ParentControlList)
.ValueKey("Parent_Id") .TextKey("Parent_Name") .DataBind() .FilteringType(ComboFilteringType.Local) .RenderMatchItemsCondition(ComboRenderMatchItemsCondition.StartsWith) .FilteringCondition("startsWith") .AutoComplete(true) .Disabled(groupControl.ReadOnly) .SelectedIndexes(Model.ScreenData == null || Model.ScreenData.Rows.Count == 0 || string.IsNullOrEmpty(DataManager.GetString(Model.ScreenData.Rows[0], groupControl.FieldName)) ? null : groupControl.SelectedParentControlList) .ValidatorOptions(m => m.OnBlur(true).OnChange(true).OnSubmit(true).FormSubmit(true).KeepFocus(ValidatorKeepFocus.Never).ShowIcon(true).Required(groupControl.Required)) .DropDownWidth(175) .Width("175") .Render()) @:</td></tr><tr><td></td><td> @(Html.Infragistics().Combo("child" + groupControl.ControlName, groupControl.ChildControlList) .ValueKey("Child_Id") .TextKey("Child_Name") .DataBind() .CascadingSettings(settings => settings.ParentComboID(groupControl.ControlName).ParentComboKey("Parent_Id")) .FilteringType(ComboFilteringType.Local) .RenderMatchItemsCondition(ComboRenderMatchItemsCondition.StartsWith) .FilteringCondition("startsWith") .AutoComplete(true) .Disabled(groupControl.ReadOnly) .SelectedIndexes(Model.ScreenData == null || Model.ScreenData.Rows.Count == 0 || string.IsNullOrEmpty(DataManager.GetString(Model.ScreenData.Rows[0], groupControl.CascadingFieldName)) ? null : groupControl.SelectedChildControlList) .ValidatorOptions(m => m.OnBlur(true).OnChange(true).OnSubmit(true).FormSubmit(true).KeepFocus(ValidatorKeepFocus.Never).ShowIcon(true).Required(groupControl.Required)) .DropDownWidth(175) .Width("175") .Render())
Thanks in Advance.
Hi, Gagan.
Thank you for using our product and please follow those two verified forum threads. I think you can find solution to your problem there:
http://es.infragistics.com/community/forums/t/79739.aspx
http://es.infragistics.com/community/forums/t/80341.aspx
If you still have problems don't hesitate to ask me.
Best regards,
Nikolay Alipiev
If you still have issues with the Combo don't hesitate to ask me.
Thanks Nikolay, I got the solution for the problem.
Thanks for the great help.
Gagan