-
I had assumed that it was TreeView for Silverlight that you were referring to. In the case of the AJAX TreeView, SoaService must be set to the contract name, and it's web.config (and the ScriptManager) which are used to configure the service to ensure that proper JS proxy classes are generated on the client. To answer your second question: Yes, you can use any kind of service, as long as it is registered with the ScriptManager. Use the WebService and WebServiceMethod properties of the TreeView...
-
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, Adding TreeView to NavBar is now easy, starting with 2009.3 SP1. More details in this blog post .
-
Hi, There's no easy way to do this right now. We're publishing a service pack next week that will address this issue, among other improvements. You could manually drill into NavBar's visual tree, attach listeners to SizeChanged events on appropriate ScrollContentPresenters inside the control, and manually resize the treeview in event handlers. I do recommend waiting for the service pack, though. Thanks, Jovca
-
Problem was resolved in 2009.2.
-
I would like to be able to have a SelectedNode Template for my treeview.
So far I have made a SelectedNode Template and using the onSelect event I have changed its template using javascript and it works fine.
However I do not know how to get the PREVIOUS node so I can reset its client template to the normal template?
Any examples or advice on this one?
-
I always get this error when trying to bind to a ClientTemplate: Microsoft JScript runtime error: Object doesn't support this property or method here is my code: ## DataItem.GetProperty('Text').get_value() ##
-
I am trying to get DragAcross trees working - I took the client-side demo you have as a start. The two trees are first loaded by the xml data you have for the demo. DragAcross trees works fine. However, when I perform an ajax postback and programmatically clear the nodes from both trees and add new ones the drag & drop does not work. The javascript never gets fired. Any ideas? function TreeView_onNodeBeforeMove(sender, eventArgs) { var movingNode = eventArgs.get_node(); var sourceTreeView = eventArgs...
-
Hi, True, it's a bug in the theme. Thanks for reporting it.
-
Hi, This should do the trick (you're almost there): tvSiteMap.BorderThickness = new Thickness(0); tvSiteMap.BorderBrush = new SolidColorBrush(Color.FromArgb(0, 255, 255, 255)); // transparent tvSiteMap.HeaderVisibility = Visibility.Collapsed;