Last Updated: 16 Jul 2019 09:57 by ADMIN
Created on: 10 Jul 2019 16:39
Category: DataForm
Type: Bug Report
SegmentedEditor doesn't work with Property Validation

Please refer to the attached project that reproduces the issue. In the MainPage constructor, you can switch between using the PickerEditor (validation works) and the SegmentedEditor (validation doesn't work).

// Works with validation
dataForm.RegisterEditor("Location", EditorType.PickerEditor);
// Doesn't work with validation
//dataForm.RegisterEditor("Location", EditorType.SegmentedEditor);

This leads to other issues like the PropertyValidationCompleted event not firing.

Thank you,

1 comment
Posted on: 16 Jul 2019 09:57
Hi Mohamed,

Thank you for providing the application.

Actually the reason behind the erroneous behavior is a known issue in DataForm - the SegmentedEditor does not update the underlying property immediately. Basically, that's the reason the validation not to be raised. We have this issue logged in our public portal, please follow the item below in order to get notified on status changes:

As a temporary solution, please use Picker editor instead.

I am sorry for any inconvenience caused.

Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items