LengthValidator on dialogs behaving oddly

I'm using Radzen 2.66.8 having just upgraded from 2.66.4.

I have a main grid page which opens a dialog for the purpose of creating a new record. The dialog contains multiple Radzen DropDownDataGrid components each of which has it's value property bound to a page proporty (which are initialized to null on the Page Load event) and data property bound to page properties (which are again populated on the Page Load event).

Each Radzen DropDownDataGrid component has a LengthValidator with a min of 1 and no max specified.

image

When the dialog is displayed, all components are displayed with blank values and no validators displayed (as intended). If I open the drop down on any 1 of the DropDownDataGrids and select a valid row which has a length > 1, the selection is correctly displayed in the control but, the length validator is incorrectly displayed.
If I again open the drop down on the same DropDownDataGrid and select the same valid row which has a length > 1, the length validator hides correctly.

How are the DropDownDataGrid and LengthValidator configured? Can't see it from the screenshot.

Morning,

This is how they are setup:

DropDownDataGrid


LengthValidator
image

What is the type of the ItemID property? Is it a string? The LengthValidator works only with strings.

Yes, ItemID is a string defined as an nvarchar(20).

Was this working with 2.66.4? We are trying to pinpoint the problem and are wondering if a recent change is related.

UPDATE: we may have reproduced the problem and are investigating what is causing it.

1 Like

Fixed and the fix will be part of our next update.

That's brilliant. As always, thank-you for the quick reponse & fix! :smiley: