Icon gets validation border, cannot remove the border

I don't understand why the ButtonAdv control gets a validation frame for the icon even though another control has been validated.

Is there a way to remove it?

Example project attached.


Attachment: ValidationIconBorder_36d13ff3.zip


8 Replies 1 reply marked as answer

BS Bhaskar Suresh Syncfusion Team November 20, 2024 12:27 PM UTC

Hi Boon,


We have modified the sample to meet your requirement. Please refer to the attached sample for further reference and let us know if you have any concerns.


Regards,

Bhaskar Suresh


Attachment: ValidationIconBorder_c379bee8.zip


BO Boon November 27, 2024 08:45 AM UTC

Hey,


thank you for the solution.


I think I asked my question wrongly. I can't find a solution to disable the border via the application resources.


But I'm wondering why there is a validation border in an icon element of a button control. Isn't it a bug?


Thanks :)



BS Bhaskar Suresh Syncfusion Team November 28, 2024 12:56 PM UTC

Hi Boon,


We are currently validating your reported query and will provide an update on or before December 2nd, 2024. We appreciate your patience until then.


Regards,

Bhaskar Suresh



BS Bhaskar Suresh Syncfusion Team November 29, 2024 02:04 PM UTC

Hi Boon,


We have confirmed the reported scenario is a defect and logged a report for the reported scenario, “The icon located within the ButtonAdv control receives a validation border”. We will fix this issue and include it in our NuGet release which is scheduled for 17th December 2024.


You can track the status of this defect using the following feedback link:

The icon located within the ButtonAdv control receives a validation border in WPF | Feedback Portal


Please let us know if you need any further assistance.

Note: The provided feedback link is private, and you need to log in to view this feedback.


Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”


Regards,

Bhaskar Suresh


Marked as answer

BO Boon replied to Bhaskar Suresh November 30, 2024 07:20 AM UTC

THANKS!!!



BS Bhaskar Suresh Syncfusion Team December 19, 2024 07:12 AM UTC

Hi Boon,


Root Cause:

The Validation.ErrorTemplate property was not applied to the content presenter in the ButtonAdv icon template.


We have included the fix for the reported issue “The icon located within the ButtonAdv control receives a validation border” in our Weekly NuGet release version 28.1.35 which is available for download (https://www.nuget.org/).


We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance.


Regards,

Bhaskar Suresh



BO Boon December 19, 2024 07:59 AM UTC

Nice :)



BS Bhaskar Suresh Syncfusion Team December 20, 2024 05:40 AM UTC

Hi Boon,


We are glad that the reported issue has been resolved. Hence, we are marking this forum as closed.

Please get in touch with us if you require any further assistance.


Regards,

Bhaskar Suresh


Loader.
Up arrow icon