I use TreeList with OnItemCommand handler. In behind code I assign my UserControl with TreeListEdit and insert as childItem.
In MyControl a have Button with Command = "InitInsert". Well, when I click on button, it dont't fire OnCommand handler. Please, help me to solve this problem.
e.Item.OwnerTreeList.EditFormSettings.UserControlPath =
"
MyControl.ascx
";
e.Item.OwnerTreeList.InsertChildItem((TreeListDataItem)e.Item, newFilterResult);
In MyControl a have Button with Command = "InitInsert". Well, when I click on button, it dont't fire OnCommand handler. Please, help me to solve this problem.