Browse Forum Posts by Tags

Showing related tags and posts for the TreeView for Silverlight forum.

  • Re: How to refresh TreeNode data

    Posted to TreeView for Silverlight by jovca on May 6, 2009
    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...
  • Re: SoaRequestTag missing

    Posted to TreeView for Silverlight by jovca on Apr 29, 2009
    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; }
Page 1 of 1 (2 items)