The property or field 'Title' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Fix:
Fix:
Usually we get this error when we try to use a property before calling ExecuteQuery();
I find a similar thread here you must call executeQuery and use the property.
I find a similar thread here you must call executeQuery and use the property.
Reference:
http://social.msdn.microsoft.com/Forums/en-US/f0b4955b-56a2-4af4-b55c-f894b7bf2baa/the-property-or-field-has-not-been-initialized-it-has-not-been-requested-or-the-request-has-not?forum=sharepointdevelopmentlegacy
http://social.technet.microsoft.com/Forums/sharepoint/en-US/245bae70-0fd7-4d17-9f40-5489db537d65/exception-in-clientcontext-class-while-try-to-get-sharepoint-object?forum=sharepointdevelopmentprevious
No comments:
Post a Comment