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

0
votes
1answer
19 views

SP - Foreach Gridview cells before export in Excel to change TextFont

I want to change text in gridView cells before export in excel, because the text is big after export. This is my button to export in Excel: void btnToExcel_Click(object sender, EventArgs e) { ...
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
9 views

SP07 - Create GridView with dynamic Rows in C# Class Library [duplicate]

HI everyone. I need to create GridView with dynamic Rows(add/delete) in C# Class Library on SharePoint 2007. I need this ASPX code : <asp:gridview ID="Gridview1" runat="server" ShowFooter="true" ...
0
votes
0answers
21 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
42 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 ...
4
votes
1answer
73 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 ...
0
votes
0answers
22 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 ...
1
vote
1answer
21 views

How to display a counter front of SPGridView groups?

I have an SPGridView and when grouping on it, it displays groups perfectly. However, in the SharePoint native list view, we can specify the view to filter and grouping on some columns etc. When ...
0
votes
0answers
20 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 : ...
1
vote
0answers
37 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
1answer
47 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 ...
2
votes
4answers
3k views

Using javascript on NavigateUrlFormat at SPMenuField

I have an webpart running on SharePoint 2010 which displays a grid of items using a SharePoint:SPGridView control. The first ├žolumn should display a typical SharePoint menu with the possible actions ...
0
votes
0answers
23 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 ?
1
vote
1answer
26 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?
0
votes
1answer
35 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: ...
0
votes
1answer
98 views

Sharepoint 2013 : Client side delete items from list on click of checkbox

I want to display 30 list items on a page. On checkbox change event I want to delete items from a SharePoint list. I can do this using spgridview server side , but how can this be done client side ...
2
votes
1answer
2k views

SPGridView sorting then grouping problem

I'm using SPGridview with LinqDataSource and Generic List. I'm having problem when try to do grouping after sorting. Please refer to the screen shot below. Its grouping in the order of the previous ...
0
votes
0answers
102 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 ...
1
vote
0answers
20 views

Sharepoint online, enable rich text editor for a custom field [duplicate]

I've an APP with an input text item. It's possible to activate the rich text editor of sharepoint (365) to edit this field? And If i want to do the same thing into a grid? Thanks!!
0
votes
1answer
58 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
2answers
146 views

Bind SQL data with SharePoint Gridview

I'm developing a SharePoint solution, In an Application Page, I want to place SPGridView and I have to bind it with SQL server data. Is it possible and if yes, how?
0
votes
1answer
250 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 ...
1
vote
1answer
4k views

SPGridView Filtering & Sorting With DataTable

I need a help filtering and sorting SPGridView based on DataTable, from the articles I've seen online, they use ObjectDataSource and so on, but I have the Grid binded directly to DataTable, is there ...
2
votes
3answers
3k views

SPGridView HeaderStyle Background

All, I am trying to find the styles for the SPGridView HeaderStyle. It doesn't seem to work when i apply the following: spGridView.HeaderStyle.BackColor = System.Drawing.Color.Blue; ...
0
votes
1answer
455 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
0answers
276 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 ...
1
vote
2answers
420 views

List item field value has ID and # prepended

I want to display a list of items with name and modified time, like so: SPWeb thisWeb = SPContext.Current.Web; SPWebCollection webs = thisWeb.Webs; SPSiteDataQuery query = new ...
0
votes
2answers
296 views

SPGridView SelectedRow.Cells[] returns empty value

I have created an SPGridView control in my visual web part. Inside SPGridView, there is an SPHyperLink control that stores some URL. When accessing this value using SPGridView ...
1
vote
0answers
134 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 ...
0
votes
2answers
227 views

How to trigger a click event for a column item in SPGridView control

I have created a SPGridView control in a visual web part project. This control displays all the folders inside a Document library. I have used SPBoundField to the display the column data. Is it ...
0
votes
2answers
77 views

Downloading documents displayed in SPGridView - SP 2013 foundation

I display a selected set of documents in the document library within a SPGridView in a webpart. The documents should be downloadable and i use LinkButton for this purpose. A method is used on the ...
0
votes
1answer
578 views

SPGridView PageIndexChanging does not hit when debugging

I have a SP grid view which has loads data in a IList (data added to iList from DB). When the pager pagination arrows "< >" are clicked the pager sometimes loads the same set. When I tried to debug ...
0
votes
1answer
257 views

SPGridView Edit Causeing postback and Grid Disappears

I have created a webpart with an SPGrid that is created after an onclick event. The grid displays with an "Edit" Button. When I click on the edit button it causes a postback and the grid disappears. ...
0
votes
0answers
189 views

get document link in gridview

<ItemTemplate> <asp:HyperLink ID="hlURL" runat="server" NavigateUrl="<%# Eval("LinkFilenameNoMenu")%>" Text='<%# Eval("LinkFilenameNoMenu")%>'></asp:HyperLink> ...
1
vote
2answers
3k views

SP GridView Filtering in share point 2010

I have sp grid view in my application page, I am binding some data to the sp grid vie, now I want to apply filtering for this grid. I am googling on this one since 2 days, I am unable to get the exact ...
2
votes
2answers
624 views

SPGridView extend filter

I'm working on a SharePoint Foundation. Since SPF doesn't provide Content Query Web Part, I'm trying to create a search webpart. In the results gridview there is a column that will show the ...
1
vote
1answer
73 views

How to embed SPList to a custom application page?

I have a custom central admin list and would like to insert it to a custom application page in a way that would make it look exactly like it does if you access the list via its URL - i.e. it should ...
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 ...
0
votes
4answers
988 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 ...
5
votes
0answers
288 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
1answer
455 views

display load in progess on application page

i have an application page called from a webpart with SP.UI.ModalDialog.showModalDialog() On this page i've an spgridview, 2 textbox for choosing date between and a button. When i click on the ...
0
votes
1answer
275 views

SPMenu Field for sharepoint document library

I have written code where it will show the Sharepoint document library in sp grid view.It is showing the grid but i want the default spmenu field for the type icon. please see the attached image. ...
3
votes
1answer
860 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: ...
1
vote
1answer
2k views

How to filtering multiple columns in SPGridView

I have a webpart with SpGridView. I bind it with ObjectDataSource. I want filtering multiple columns. I set AllowFiltering for spgrid: grid.AllowFiltering = true; grid.FilterDataFields = ...
7
votes
1answer
2k views

SimpleLogic SPGridView example used in User Control

I am trying to create the example at this link http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/comment-page-1/#comment-1777 inside a User Control and not in a Web Part. Here is ...
1
vote
0answers
92 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
2answers
515 views

Sp Grid View filtering problem

I have sp grid view in my application page, I am binding some data to the sp grid vie, now I want to apply filtering for this grid.I tried the following code, I am getting error when I click the ...
2
votes
1answer
7k views

SharePoint 2013 gridview

The new SharePoint 2013 gridview is really cool (see above). I like to use it in an application page since I need to add some extra functionality to it (preview and copy to clipboard). Is there any ...
1
vote
1answer
220 views

SPGridView Filtering for taxonomy columns

I am displaying some sharepoint 2013 list data in SPGridView and I am using SPDataSource for binding list data with grid. The problem is with managed metadata columns filtering. In filter of managed ...
0
votes
1answer
741 views

Sharepoint 2013 ListView using GridView

So I have this problem. I have a list in the root site level. But I want this list to be managed by some subsites. For this reason I have to recreate some view of this list on different subsites, but ...