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

learn more… | top users | synonyms

4
votes
1answer
79 views

How to modify DropDown Menu of a SPGridView?

I'm using an SPGridView to display search results (SP2010) and I would like to modify the way datetime column is displayed through the column menu. Schema are more meaningful than long speeches so I'...
1
vote
1answer
51 views

How to filter on System.DateTime using FilteredDataSourcePropertyFormat?

I'm using an SPGridView that displays search results and it works perfectly. Sorting and filtering works fine as well unless for the DateTime Column. When I'm trying to filter by Date I have the ...
1
vote
1answer
28 views

Paging disappears after filtering in SPGridView

I am using an SPGridView in which I have put paging and filtering facility. But whenever I change the page and then do filtering, the paging disappears. How can I correct this?
1
vote
1answer
267 views

add MenuItem to MenuItemTempate on event SPGridView.RowDataBound

working on custom web part. I included SPGridView to this web part. I know there is an option at the begining define menu items, however I would like to add/delete/modify the menu items dynamically. I ...
0
votes
1answer
36 views

Display the group by with metadata in SPGridView

I have one SPGridView, on this grid, I'd like to have the group by based on the Managed Metadata column. But the display in the Group by line will contain the TermID like below: Type: Testing|...
0
votes
1answer
62 views

GetFieldByDisplayName error in CAML query

I'm developing a web-part for SharePoint 2010. I've to sort a SPGridView so I use SortExpression. I execute a CAML query in this way and then I bind data to SPGridView: SPQuery query = ...
0
votes
1answer
267 views

Applying css to a sharepoint gridview

Within my web-part, I want to make the header row of a gridview match the css from the sharepoint css class called ms-ContentAccent1-bgColor(I want to match the theme of the site). However, when I ...
0
votes
1answer
466 views

SPGridView - when sorting AFTER filtering, column looses it's filtered state (filter not removable) How to solve this?

I've got a SPGridView in a webpart that has sorting, filtering, paging and grouping configured. Most of it works fine so far, but it seems like I can't get around this problem: If I filter the ...
0
votes
1answer
253 views

SPGridview Sorting issue with Modal control - Double postback

I'm having a a issue related to Sharepoint/ASP.Net Postbacks. Basically, what's happening is I have the following GridView on my page: <SharePoint:SPGridView EnableViewState="false" runat="...
0
votes
1answer
73 views

Is there a “URL-Structure” for Users and Groups I can access via Hyperlink?

I have a Custom WebPart which gets credentials from the site into a GridView-Table. The result (user and credential) is shown as strings. I want to create a Hyperlink to the users e.g. mysite, instead ...
5
votes
0answers
294 views

SPGridView - How to make it look & feel like built-in SP grid

In C# code, I'm working with the SPGridView control to display list items from a list of type SPDocumentLibrary. It binds fine, but it looks totally plain and has basically no features. I would like ...
1
vote
0answers
39 views

Getting too many groups when sorting after grouping on spgridview?

When applying a sort on my spgridview after grouping, the sort does works but the groups are splited in many others labeled identically. For instance, if I have: group 1 4 2 group 2 3 group 3 ...
1
vote
0answers
137 views

How to show sorting arrow in SPGridView

I have an SPGridView control in a visual web part. I am trying to implement sorting functionality, but the grid control is not displaying the sorting arrow next to each column header. How can the ...
1
vote
0answers
64 views

How to display rowcount in SPGridview after column filter is applied

I am able to add label to show count in an SPGridView which takes data source (datatable), row counts and displays, but I'm having problems when column filter is applied. Please suggest how I can get ...
1
vote
0answers
93 views

Applying Datasheet view on a GridView Sharepoint

I was wondering if it is possible to apply Datasheet view onto a grid view found in an application page. The grid View was used such that the data is filtered out such that only data concerning the ...
1
vote
0answers
108 views

SPgridView filtering Menu issues for Numeric column

I have built a SPgridview with Filtering, Sorting and Paging. In the grid , i have one numeric type column and other are string columns. There is a issue while filtering the numeric type column, the ...
1
vote
0answers
495 views

How to group columns on SharePoint JSGrid

I'm using SharePoint JSGrid on my custom ApplicationPage and I need to create a visualization like this: | Group 1 | Group 2 | Column A | Column B | ...
1
vote
0answers
2k views

How to display data from list in applciation page using SPGridview

I have created an application page which display data from the list . I am able to see dropdown and labels server control./ but when i try to bind the list data to the SPgrid view , nothin gets ...
1
vote
0answers
289 views

Dynamic content based on Eval() returning null

I have an SPGridView with a list as its source. I currently have it sorting first by published date, or if that is null, by modified date. The problem is that on the list view I need to put Posted on ...
0
votes
0answers
10 views

Need help with creating a small roll up dashboard on a sharepoint 2010 site

If anyone can help with the starting process as to how to create a small dashboard used to total amounts for funding. This will be in SP2010 Just 4 columns 1 row or any better ideas welcome. I have ...
0
votes
0answers
22 views

Gridview in a Webpart and its lifecycle

Please consider that i am new to developing with sharepoint and also that the code isnt mine. I only have to bugfix it. This being said now to my question. I have a problem with a custom Gridview ...
0
votes
0answers
50 views

SPGridView Filter one column with multiple values. Sharepoint 2013

When I click on the column header in SPGridView I can select only one value to filter by. Is there a way to be able to filter one column by more then one value? I know that changing the url from ...
0
votes
0answers
25 views

Why is the SPGridView doesn't display the collapse button when there is a single group?

The question sums up the situtuation. I have an SPGridView that return search results and I would like to grouping on them. When having more than 1 group, I got the little plus sign (+) in front of ...
0
votes
0answers
21 views

The type specified in the TypeName property of ObjectDataSource could not be found

I'm trying to use SPGridView with ObjectDatasource to display search results and I get the message in the title. I read several forums and that lead me to conclude that the correct TypeName is : ...
0
votes
0answers
24 views

How to open the DispForm for a search result item?

I want to display the DispForm for a search results. My results are formated in a SPGridView and I want them to be clickable. When users click on the link, the dispForm should open. Any ideas ?
0
votes
0answers
111 views

Editable SharePoint 2013 Grid control in app

I would like to display editable data in a SharePoint-like grid control in my Project Server App (javascript object model). The look and feel I want to achieve is something like this: (image from ...
0
votes
0answers
205 views

get document link in gridview

<ItemTemplate> <asp:HyperLink ID="hlURL" runat="server" NavigateUrl="<%# Eval("LinkFilenameNoMenu")%>" Text='<%# Eval("LinkFilenameNoMenu")%>'></asp:HyperLink> </...
0
votes
0answers
284 views

SPGrid ItemStyle custom changes not displayed for normal users

We have made some changes to the ItemStyle.xsl file for the style SPGrid in order to display a few extra columns using the Content Query Web Part. The ItemStyle resides on the highest level of the ...
0
votes
0answers
192 views

Is there a way to make a SPGridView look like XSLTListViewWebPart?

is there a possibility to make an SPGridView (or any other WebControl) look like an XSLTListViewWebPart? I want to mimic a sharepoint list, but can't use a plain list, since i have calculated data ...
0
votes
0answers
633 views

HyperLinkField in SpGridView

I have a spgridview with dynamic column. I get a data of a special list and bind to SpGridView. I have a URL SPFieldType, i want show description in spgridview and set url for navigationurl. I use ...