I'm using the following code to create new list folder:
Folder newFolder = listCopyTo.RootFolder.Folders.Add("NewFolder"); clientContext.Load(newFolder); clientContext.ExecuteQuery();
After that the new folder is exist in the list (i checked it). But it doesn't dispay in browser (view). I found an article on this issue. It says the folowing:
SPListItem newFolder = reportingList.Items.Add(reportingList.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder, “New_Folder_Name”); //the following line will associate a list item with the newly created folder and make the folder visible in the list views newFolder.Update();
But i can't to follow this way because i'm using SharePoint 2010 Client-Side Object Model. Is there the right decision for me?