0
votes
2answers
187 views

trouble when updating view programmatically

I got the following event code wich is called when clicking a button: void addSubject_Click(object sender, EventArgs e) { SPWeb thisWeb = SPContext.Current.Web; thisWeb.AllowUnsafeUpdates = true; ...
0
votes
1answer
304 views

Different View for Top-Level folder and folders of a Content Type (programmatically)

I have a Document Library where I add Folders of a specific Content Type. Inside these folders I can upload documents. I would like to have different Views for both. I found a manual solution as ...
1
vote
1answer
762 views

Submit selected items of ListView in Request (used in Webpart)

I develop a WebPart using VS2010 for a SharePoint page. My problem: I have to submit the selected items of the ListView to the WebPart code behind. The best solution would be to do it via the Request ...
1
vote
1answer
805 views

Retrieving the values from the list view SharePoint 2010 using object model

I have a list (tick_gen) which has a view called "tick_dView" this view just has one row. How can I fetch the value of "Tick_id" column using SharePoint object model?
0
votes
1answer
2k views

Trouble with custom Sharepoint List views created in Visual Studio 2010

Probably something simple but i'm not sure what the problem is here. I create several custom list views in my schema.xml for my list. I deploy and go in sharepoint designer to make sure everything ...
0
votes
2answers
2k views

Unknown server tag 'asp:ListView' error with Sharepoint 2010 / .Net 3.5

I'm developing a visual web part in Visual Studio 2010 for sharepoint and i have a listview control embedded. I keep getting this error message in runtime even though I made sure it's namespaces are ...