views:

182

answers:

1

Using SPList I want to get all the webpart urls that associated with the list. Is it possible?

+1  A: 

The only way this would be possible is to loop through all pages in all SPWeb's, then get each page's webpartmanager reference, then loop through all webparts and check the properties of the webpart.

Colin
If you are talking about searching all the properties tagged as WebBrowsable within each web part and seeing if it's a list name thats been set, it would work probably.
Dan Revell