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
0answers
20 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, ...
0
votes
0answers
46 views

How I can fix columns row in sharepoint gridview?

I use SharePoint 2013 and Performance Point Service for business intelligence. I have a GridView in my page and I want after scrolling page , I can see name of my columns. I have a Grid like this ...
2
votes
2answers
127 views

Sharepoint field not found exception

I am querying a SPList in sharepoint 2010 and populating the corresponding grid view: <asp:DataGrid runat="server" ID="gridView" AutoGenerateColumns="false" ...
1
vote
1answer
473 views

Check box in gridview should update the splistitem check box

I am a newbie in visual studio. I have a Sharepoint list which contains the following fields group name, user, section and active(which is a check box) . I have a grid view visual web part which will ...
1
vote
1answer
32 views

Display two dates in one gridview column, but hide second date if the same as the first date

I have a gridview column which displays two date values. I would like to hide the second value in cases where the two dates are the same. <asp:TemplateField HeaderText="Date Range"> ...
0
votes
1answer
40 views

Display two dates in one gridview column

I'm using the following in my grid view to display two dates in a single column. How can I change this so the date format will be like dd MMM yyyy without the time? <asp:TemplateField ...
1
vote
0answers
170 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
124 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 ...
0
votes
1answer
661 views

How to dynamically populate a dropdownlist in a gridview header row

I have a gridview which contains a dropdownlist in the header row to allow users to filter the data: <asp:GridView ID="GV_Projects" runat="server" AutoGenerateColumns="False" CssClass="mGrid" ...
0
votes
0answers
220 views

gridview in visual web part in SharePoint 2013 not showing table borders

I have a simple gridview in a visual webpart project that displays data from SQL, The grid shows up well when deployed to sp 2010 but when deployed to sp 2013,(built in VS 2012 & then deployed) ...
0
votes
0answers
53 views

Height and width of Grid is changing during pagination

I am rendering gridview at runtime using TraceWebpart class which contains _TraceResultsContainer = (TraceResultsContainer)this.Page.LoadControl(@"/UserControls/TraceResultsContainer.ascx"); under ...
0
votes
2answers
287 views

SP2013: Disable Column in GridView

I have a list which is shown in gridview (Quick Edit in the ribbon). Now i want to disable one column with jQuery. This might be possible by applying the attribute aria-readonly="true" to the ...
2
votes
1answer
101 views

GridView Listing Users' Tasks

I have a task list which I want to visualize with a GridView. I want to display the SharePoint users as columns, and underneath these users, their respectively assigned tasks will be displayed. This ...
0
votes
1answer
595 views

SPDataSource for asp gridView returns nothing?

I'm binding my SPDataSource to an ASP:DataGrid but it returns empty gridview not filled. Here's my aspx file <SharePoint:SPDataSource runat="server" ID="SPTypes" DataSourceMode="ListItem" ...
0
votes
2answers
309 views

How to only display the logged in users list items?

I am creating a Expense management application. I have a page that lists the expenses in the system (they click the expense list to view this). I now want to change this so that it ONLY displays the ...
1
vote
4answers
1k views

Refreshing page or making it to respond after downloading the file. All happening in Webpart

I'm having a Visual Webpart that allows user to select Managed Properties and find out what is stored inside it. The result is displayed inside a gridview which he/she can export it to excel. It is ...
0
votes
4answers
657 views

How to fix width of column in SpGridView?

I have a spgridview with dynamic column. I want fix width and if the content is a part of it is displayed. I use this code but don't work for me . BoundField col = new BoundField(); col.HeaderText ...
0
votes
1answer
409 views

Dynamically adding/editing list items in a “new” form of another list?

I'm new to Sharepoint, so I'm looking for some advice on how to tackle a problem I'm having when developing a solution for a client. This is a simplified example: I have two lists: one containing ...
0
votes
1answer
343 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
640 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 ...
0
votes
1answer
111 views

Don't show DateTime format on a web part

I Created a WebPart with a GridView.I get items of list and show in gridview. Run-time ,datetime field displays only the time. list.GetItems().GetDataTable();
2
votes
1answer
660 views

Attach document from SharePoint List to GridView

I have a SharePoint 2010 list, which has attachments!! I am using a custom grid-view to display some selected List fields from the list. I would like to include the attachment as an embedded ...
3
votes
1answer
491 views

Multiple Media Web parts for Videos in a list?

I want to create a video library for users to upload videos. These should be displayed with a Media Web Part. I would like to be able to have on web part for each video so it becomes a list like so: ...
0
votes
2answers
758 views

Sharepoint list column changes not getting updated - bug?

I have created a list in SharePoint 2010, initially had the columns - Title , Mobile and Email Id. Then I used a grid view (Visual web part) to display these fields. Later I changed the field Title ...
0
votes
1answer
679 views

How to select specific fields from a list to bind with gri

I have used the following code to get the list items in a gridview!! Though I have only three fields visible in the list - Title, Mobile and Email ID. It ends up showing around 10 different fields ...
1
vote
1answer
1k views

GridView CommandField issue

I have a small problem with a GridView in my web part. I bind a DataTable to the SourceData of my GridView and check if the current user is an administrator. If he is, I will add additional ...
1
vote
1answer
477 views

Problem with expanding/collaping gridview rows in Firefox

I have an asp:Gridview control called gvComments that uses the following Javascript to show/hide table rows. If the expand/collapse button is clicked, a string (EventID) is passed to the function and ...
0
votes
1answer
258 views

Last sites and last items in the same list/table/gridview

There is a way to put in a list all updates/insert that users to in every list from all the subsites from sharepoint root site(sitecollection)? Also, to add to this list the site info that users ...
3
votes
4answers
8k views

What is SP Grid View & How to use it?

I know this is a basic question! But still, I need to know What is Grid View? How to use it? What is it used for? Any documentation or links will be of a great use! Thanks! -saumil Using SP2010 ...
1
vote
2answers
679 views

GridView showing FAST results and inline editing items

I'm in the following scenario: I have a single custom list coupled with a document library (for the 'attachments'). Search on this list and the attachments is done by FAST Search. All search results ...
3
votes
3answers
2k views

GridView lookups displaying as “id;#value”

I am using an ASP.net gridview. The datasource is SPList.Items.GetDataTable(). The gridview is working fine; however, lookup and multilookup columns display as "id;#value". Is there any way to just ...