开发者

How to Reload custom section nodes Umbraco

开发者 https://www.devze.com 2023-03-18 18:33 出处:网络
I have custom Store section in Umbraco 4.5.2 which has list of all the stores coming from custom table.I want to reload the Store tree afte开发者_开发知识库r updting store detail from code behind.

I have custom Store section in Umbraco 4.5.2 which has list of all the stores coming from custom table.I want to reload the Store tree afte开发者_开发知识库r updting store detail from code behind.

Thanls


when you create xml tree nodes to bind the custom section you have to add an option to xmlTreeNode for the node to get refreshed

xNode.Menu.AddRange(new List<IAction> { ActionNew.Instance, ActionRefresh.Instance, ActionDelete.Instance });

Here ActionRefresh.Instance will refresh the nodes

0

精彩评论

暂无评论...
验证码 换一张
取 消