-
Calvin, It sounds like you may want to set TreeView's SoaServiceUrl property to the absolute URL of the WCF service (.svc). Is that an option?
-
Hi, We don't have a dedicated Refresh() method (one is already planned for SP2 or 2009.2 release, whichever comes first), but you can use the following (admittedly, not very intuitive) workaround: parentNode.IsExpanded = false; parentNode.IsLoadOnDemandCompleted = false; parentNode.IsLoadOnDemandEnabled = false; parentNode.IsLoadOnDemandEnabled = true; parentNode.Items.Clear(); parentNode.Dispatcher.BeginInvoke(() => { parentNode.IsExpanded = true; }); Refreshing the whole TreeView is more...
-
Hi, TreeView SoaRequestTag & SoaResponseTag properties will be available in the forthcoming service pack 1. In the meantime, you can use the following: TreeView1.BeforeSoaRequestSent += new EventHandler(TreeView1_BeforeSoaRequestSent); [...] void TreeView1_BeforeSoaRequestSent(object sender, TreeViewSoaRequestCancelEventArgs e) { e.Request.Tag = myExtraData; }