SPGridview, a class of the Microsoft.SharePoint.WebControls namespace, represents a grid view that looks and behaves like a SharePoint Foundation list view.

learn more… | top users | synonyms

1
vote
2answers
51 views

Download all attachments of a list item from grid view

I need to download all attachments of a list item from gridview in a visual webpart. I tried hyperlink but unable to get it. Can anyone tell me how to use anchor tag and use href or any other ...
1
vote
1answer
25 views

Stop working of submit button after the last day to submit set by admin

I have a grid view and and a text box which submits the value after click of submit button. I have set a last date to submit the value. Now I want that after that date, no one should be able to write ...
0
votes
1answer
48 views

XML Document Missing Column / DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'myColumn'

I kept getting the above error when trying to bind an XML document to a GridView. The problem is that some of the XML documents were missing the column and some weren't for some unknown reason. The ...
0
votes
1answer
330 views

Can I achieve conditional formatting on a gantt chart?

I have created a Gantt view on a list, showing the Gantt chart and several columns. One of my list columns is a R/Y/G status column. I would like the cell that displays the R/Y/G status to show the ...
0
votes
1answer
65 views

Link button issue inside gridview in sharepoint

i have link button inside gridview. can some one help me to form proper URL for this <asp:TemplateField HeaderText="View" > <ItemTemplate><asp:LinkButton runat="server" ID="lnkView" ...
0
votes
1answer
68 views

How do you display a list of users with full control?

I am currently working on creating a visual web part that displays a list of users with full control to a SharePoint site, along with their loginID and email. The code I've written lists all the users ...
1
vote
0answers
25 views

LINQ to SP Problem

I have a following var resultsMarks = from mItem in MItemList.ToList() select new { ScienceGroup = mItem.ScienceGroup, ArtsGroup = mItem.ArtsGroup, CommerceGroup = mItem.CommerceGroup, ...
1
vote
0answers
503 views

why is Gridview moving infinetly to the right in visual studio 2010 designer view

In visual studio 2010, I have a gridview, with another inside, this has been working fine for 3 weeks, but today, it randomly begins to move to the right in designer, not when deployed, its jumping a ...
1
vote
0answers
291 views

How to add a choice field in JS Grid control

I need to add a choice field (dropdownlist) in each row of a JS Grid control. What is the PropertyID for a choice field. How to add a dropdown. Please assist. i tried like this,but this didnt work ...
1
vote
0answers
557 views

Gridview for picture library with link

Is there a out of box way to use the picture library on a page that will have grid view with link on the picture?
0
votes
0answers
13 views

why Contributor users who create a grid view can view the options to create list columns while they do not have the permission to create list columns

I am working on SharePoint 2013, and i have a group of users with Contribute permission inside my enterprise wiki site collection. now those users will have these built-in permissions:- they can ...
0
votes
0answers
25 views

Error in Datasheet view

I'm really blown away by this so I'm hoping someone can tell me I'm crazy. If I create a fresh list with 1 Optional field in it, then I remove the required 'Title' field and try to add an item in ...
0
votes
0answers
140 views

Bind REST result to DataTable/Gridview

Is there a way to bind Ajax/executor query result (JavaScript) from a SharePoint list to a datatable so that I can bind it into a gridview (aspx)? The examples I found so far are using ...
0
votes
0answers
76 views

How to create grid view for the Custom List

How to create a grid view for the custom list, It would be better if someone explain, how it can be implemented through JavaScript or Jquery using webpart.
0
votes
0answers
33 views

How to get the name or title of document on click of a hyperlink in a grid view?

I have created a grid view web part and created a hyperlink column with this code : <asp:TemplateField HeaderText=""> <ItemStyle Width="70%" /> <ItemTemplate> <asp:HyperLink ...
0
votes
0answers
1k views

Adding Rows Dynamically to GridView on Button Click

I am trying to add rows to my GridView dynamically. I followed many blogs on this site and have been successful at doing that. Although there is one Issue. Each time I load my page it posts back and ...
0
votes
0answers
939 views

How to create Grid view webpart using Visual Studio or code

I need a Grid View Webpart to display multiple rows and columns like an Excel range of columns​. i.e. Users are able to see different columns for different rows. Is it possible to do it via Visual ...