Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

ListItemProperty with SubSites

  Asked By: Jackie Ayala         Date: Oct 28, 2005      Category: Sharepoint      Views: 413
 

I am creating a webpart that will show list data from subsites. I
thought that it would be nice if I could use the listitemproperty
control so that I could use the LinkTitle and other properties. For
example this is what I have.

ListItemProperty property = new ListItemProperty();
property.List = list.ID.ToString();
property.ListItemID = item.ID.ToString();
property.Property = field.InternalName;

I can confirm that the list id does exist however I think that when
the control is run that it is looking for this list in the current
site rather than a subsite. Therefore I get an error stating that the
list does not exist. Does anyone know of a way to get it to
look at a subsite?


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:      

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on ListItemProperty with SubSites Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].