Declined
Last Updated: 07 Jan 2026 15:47 by ADMIN
NovaStor
Created on: 07 Sep 2021 12:56
Category: TreeList
Type: Bug Report
1
Setting InsertedItem through TreeList state invokes double validation

I am overriding the built-in Add command and setting an InsertedItem through the TreeList state. However, it looks like the the built-in validation is invoked twice and two validation Tooltips are displayed for the field.

 

1 comment
ADMIN
Petar Mladenov
Posted on: 07 Jan 2026 15:47

Hi,

We have reviewed the case with the latest version, and the product works as expected.
SetState is no longer available and the issue is not reproducible with SetStateAsync.

    void AddItem(TreeListCommandEventArgs args)
    {
        TreeListState<Employee> currentState = TreeListRef.GetState();
        currentState.InsertedItem = new Employee();
        TreeListRef.SetStateAsync(currentState);
    }

Closing the issue. If you still encounter the problem, please provide updated details so we can re-investigate.

Regards,
Petar Mladenov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.