View Complete Post
public partial class _Default : System.Web.UI.Page
protected void Page_Load(object sender, EventArgs e)
SPSite mySite = new SPSite("http://spserv");
//SPWeb myWeb = mySite.OpenWeb("/vst");
using (SPWeb oWebsite = mySite.AllWebs["website_name"])
oWebsite.AllowUnsafeUpdates = true;
SPList oList = oWebsite.Lists["list_name"];
SPViewCollection collViews = oList.Views;
string strViewName = "CustomView";
I want to make the metadata of a document set to read only. The business idea is that when the document is created the first time, it is modifyable. However, few years down the line when the document comes up for revision, we want the metadata columns to
be set to read only.
I'm using vs2010, EF. I have a left column simular to a navigation area and I'm trying to figure out a way to display the FK links that appear at the end of a list as columns, in my navigation area. One thought was to place a duplicate table in the navigation area and hide all the columns except for the FK links. Is there an easier way to accomplish this.