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.
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);
}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.