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
20
Red round box around XamComboEditor
posted

Hi Support, I am using 10.3 Infragistics for WPF. In my application I have Xamcomboeditor inside xamdatagrid l. I am trying to set SelectedItem of Xamcomboeditor with the help of converter but I am getting red box around comboeditor. I want to set SubDept1 by default in SubDepartmet column for all rows.

Here I am attachin a sample application. Please review this and suggest the solution for same.

Thanks

XamComboEditor Issue.zip
Parents
No Data
Reply
  • 28925
    Suggested Answer
    Offline posted

    Hello Rheal,

    Thank you for contacting Infragistics. The cells do not think the values are suitable and therefore throwing an error. A quick fix for this is to modify the Validation Error template to remove the red borders in your SubDepartmentFieldStyle.

    eg. Add a setter for Validation.ErrorTemplate

      <Setter Property="Validation.ErrorTemplate">
                    <Setter.Value>
                        <ControlTemplate >
                            <DockPanel>
                                <Border >
                                    <AdornedElementPlaceholder />
                                </Border>
                            </DockPanel>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>

    Let me know if you have any questions.

Children
No Data