New answers tagged splist
Check this link out - http://sundarnarasiman.net/?p=186 It might not be same, but can help in getting the logic. Hope it helps!
There is nothing much to go on here. The best advice is to see if its just the browser first. 1) is its IE only? 2) did you test in 64 and 32 bit versions of ie? 3) does it work on other machines. these questions will determin if its specific browser related, if its related to that pc only or somthing that you have changed in code somewhere if it doesnt ...
Are you sure that /Lists/TestList is the right (relative) URL? Try the SPUrlUtility.CombineUrl method: https://msdn.microsoft.com/EN-US/library/office/microsoft.sharepoint.utilities.spurlutility.combineurl.aspx Something like this: List targetList = targetWeb.GetList(SPUrlUtility.CombineUrl(targetWeb.ServerRelativeUrl, "/_catalogs/yourList"));
SPList list = web.GetList("/Lists/TestList"); Should be SPList list = web.GetList(web.ServerRelativeUrl + "/Lists/TestList"); As it needs the server relative URL to your list
You should use server relative Url of the list: Example: The server-relative URL to the root folder of a list, such as /sites/sitecollection/subsite/Lists/Announcements.
Top 50 recent answers are included