Geeks With Blogs

News
About Me:
I am a Female SharePoint Developer (a platinum unicorn). I have been working with SharePoint since I attended the Portal University in 2005. I hold a BA in Computer Science from the University of Missouri - Kansas City. I love playing Rockband, organizing user group meetings, working with code, attending events as a speaker or organizer, and having bizarre conversations about geek things with cool people. If you have any comments or questions fill out the contact form and I will try my best to help.



The Guide of a MOSSLover Becky Isserman's Blog

So I was playing around with NavigationNodeCollection, which is basically like SPNavigationNodeCollection just to make sure it worked without a hitch…Here is a little sample snippet of what should work:

NavigationNodeCollectionClientOM

Unfortunately, you get a nice little javascript error that does not allow you to access the child nodes.  I tried a foreach() loop that gets a NavigationNode for each parent then loops through the NavigationNode.Children that did not work either.  I threw in two ExecuteQueryAsync statements thinking that would help, unfortunately adding a second statement provides no different results.  This appears to be a bug in the Silverlight Client Object Model.  I reported the error.  Hopefully, we get a fix by RTM so that we can use the easier method to get items into Silverlight, otherwise it’s back to WCF and cross domain policies.  We all love cross domain policies right?

Posted on Monday, March 8, 2010 5:43 PM | Back to top


Comments on this post: Houston We have a Problem with Silverlight Client OM…

# re: Houston We have a Problem with Silverlight Client OM…
Requesting Gravatar...
Read more about the client object model and SharePoint 2010 here.
http://praveenbattula.blogspot.com/search/label/SharePoint%202010
Left by Praveen on Mar 18, 2010 4:36 PM

# re: Houston We have a Problem with Silverlight Client OM…
Requesting Gravatar...
Yes. Good catch.
http://praveenbattula.blogspot.com/search/label/SharePoint%202010
Left by Praveen on Apr 09, 2010 3:02 PM

Your comment:
 (will show your gravatar)


Copyright © MOSSLover | Powered by: GeeksWithBlogs.net