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
1answer
21 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
14 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
132 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
36 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
57 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
447 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
240 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
523 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
31 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
22 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
16 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
26 views

Why my grid doesn't have rows when I load my webpart?

Scenario: - Webpart with MultiView control. I have some GridView controls inside some of the Views. All these views are NOT the view showed when we load the webpart for the first time. - The idea is ...
0
votes
0answers
37 views

Tree grid expand not working in SharePoint 2013

I have written a code that represent data in tree grid in SharePoint 2010. and we have moved to 2013 with same code tree grid stop expanding giving me following JavaScript error. TypeError: tr.style ...
0
votes
0answers
82 views

Add Check mark in gridview &#x2713; in c#

Ta I have a gridview display some columns from a list, and I have a column named "Tax" its type is boolean, I want to put ✓ if it's "Yes" and X if it's "No" here's my code : SPSite oSite = ...
0
votes
0answers
823 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
847 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 ...