Hi,
I'm working with NetAdvange for WPF and I have the following code:
<ig:XamNumericInput Name="Quantity" Grid.Row="1" Grid.Column="1" Height="28" PromptChar=" " SpinButtonDisplayMode="Never" ValueTypeName="double" Value="{Binding Path=Quantity, ValidatesOnDataErrors=True, UpdateSourceTrigger=PropertyChanged}"> <ig:XamNumericInput.ValueConstraint> <ig:ValueConstraint MaxInclusive="{Binding MaxQuantity}" MinInclusive="0" /> <ig:XamNumericInput.ValueConstraint><ig:XamNumericInput>
and the Property:
public double MaxQuantity{ get { return lMaxQuantity; }}
The Binding for MaxInclusive constraint is not working. I don't know if this is an issue of the control or is not allowed to use binding here.
I reviewed this topic http://es.infragistics.com/community/forums/p/73987/374112.aspx and nothing seems to be different....
Can you help me please? Is there anything wrong?
Best Regards,
Claudio Herrera
Hi Clauidio,
I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 142395. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I have created a private case for you to track this issue. The number of the case is CAS-116280-H9C8F7. You can also continue to send updates to this case at any time.
Please let me know if you have any questions.
Thanks,
George
Thanks for your quick reply.
Hope your team have an alternative solution for my requirement.
Thanks again!
Hi George,
I've tried your code and didn't work. The Binding is called but something is missing when do the validation, I mean, you can entered a big number in there.
Thanks for your help.
Hi Claudio,
Could you try with the attached sample?
your example works, but not in my project. I'm using MVVM with Caliburn and can't get the same.
Any idea why that's not working?
What is the difference in the usage?
Is there anything I can help with?
Thank you for your help and sorry for my late reply. As the workaround you gave me works, I will close this topic. Unfortunatelly, couldn't have the same, but I will keep trying with your example.
Best Regards, and thank you!!!