0
votes
1answer
19 views

How to get GetLocalizedstring for announcement list

I am trying to add xsltlistviewwebpart and it has to be from announcement list. How to write this line? string str = "$Resources:??";//How to get announcement list reference here? public static ...
0
votes
1answer
673 views

programmatically get IDs of list from urls

Is it possible to retrieve the ID of a list or library with a url? For example, http://MyPortal/MySubsite/MyDocuments/Forms/AllItems.aspx If so, please provide me with some sample code. Many ...