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

1
vote
0answers
42 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
0answers
37 views

SharePoint 2013 SPGrid Row Update Controls are not firing

I am using SPgrid view control for Edit and Update data, the web part is working fine in SharePoint 2010 but when I upgraded same web part in SharePoint 2013 then the gridview is not working properly. ...
0
votes
2answers
66 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 ...
0
votes
2answers
40 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
0answers
35 views

Open a Modal Pop when SPMenu item is clicked - ( NavigateUrl )

I need to add a Modal popup on clicking on the url of a SPMenu which resides in a SPGridView. I specify the url in the row data bound method. In the SPMenu when a Application page path is directly ...
0
votes
0answers
61 views

Microsoft.SharePoint.dll version 15 (Sharepoint 2013) doesn't support SPGridView

I'm preparing to develop a webpart need to use SharePoint Gridview 2013 But after I imported Microsoft.SharePoint.WebControls I couldn't use a declaration of SPGridView in the code behind, but in the ...
0
votes
0answers
40 views

ImageButton in GridView - gives event validation error

I have a visual web part which has a SPGridView. every row has a ImageButton (Used for the purpose of displaying an image). Inside spgird's row databind method i set the LinkButton's click event as ...
0
votes
2answers
47 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
54 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
0answers
68 views

SPGridview webpart: Add new row

I want to add a new row (the insert button) in my SPGridView, I use object datasource. I followed this link http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview/#comment-1038 to ...
0
votes
0answers
111 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
70 views

get document link in gridview

<ItemTemplate> <asp:HyperLink ID="hlURL" runat="server" NavigateUrl="<%# Eval("LinkFilenameNoMenu")%>" Text='<%# Eval("LinkFilenameNoMenu")%>'></asp:HyperLink> ...
1
vote
1answer
42 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 ...
0
votes
0answers
37 views

Is it possible to diplay dropdown on the SPGridView in SharePoint 2010?

Have created the Webpart based on - http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however, the region column should be displayed as a dropdown as it is ...
0
votes
0answers
228 views

Why edit option is not working on the SPGridView in SharePoint 2010?

Have created the Webpart based on http://kitmenke.com/blog/2010/02/18/editing-in-sharepoints-spgridview It does work however I want display the results based on the filter value as below it ...
0
votes
0answers
32 views

Is there a way to get the text value of a SPMenuField

I have a SPMenuField as a column in a SPGridView. I would like to get the text of the item that the user clicks on to open the menu (not the text of the popup menu items themselves). Is there any way ...
0
votes
1answer
1k 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 ...
0
votes
0answers
48 views

SPGridView wrap text in colum filter dropdown

I have multiple values in single row in a column which are separated by ";" , So once column filter applied for that column its not getting wrapped. Some values are so long that after applying ...
1
vote
0answers
43 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
0answers
65 views

SPGridView with filtering on Taxonomy Field Multivalue column( column with multiple values in single row)

I have SPGridView control (fetching value from DB) with a column which is having multiple values in single row seperated by ";". Whenever filter is applied it show these values in single row but I ...
3
votes
0answers
170 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 ...
0
votes
0answers
96 views

reload objectdatasource for paging spgridview

I'm developing a search result in an spgridview loaded with objectdatasource. The issue is the Location object authorize's only 250 ItemsPerPage in this property. My spgridview is set to allow paging ...
1
vote
1answer
152 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
169 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. ...
1
vote
0answers
62 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 ...
0
votes
0answers
156 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
1answer
161 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 ...
1
vote
2answers
371 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 ...
1
vote
2answers
2k 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 ...
0
votes
1answer
463 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 ...
0
votes
0answers
144 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 ...
2
votes
1answer
4k 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
0answers
88 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 ...
0
votes
1answer
125 views

How to list all alements by CAML to SPGridView

Is it possible to display the listitems retrieved from a CAML query in a SPGridView? How can I implement it?
0
votes
1answer
179 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" ...
1
vote
1answer
164 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 ...
1
vote
1answer
53 views

SPGridView problems

Can someone tell me how to use SPGridView plzzz, I want to know how it works, Do I neeed to create a data table first then add it to table or create table first then add table to SPGridView. I need ...
0
votes
1answer
282 views

using a byte array to display a image in a sharepoint webpart

I have a webpart which shows document data from a webservice. I can use the same webservice to get a byte[] which contains data for a thumbnail image of the document. the image should be shown in a ...
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 ...
2
votes
1answer
1k views

Adding a CheckboxColumn to SPDataGridView

I wish to add one column which has a unchecked checkbox in it. This is used so the user can select multiple rows. datatable.Columns.Add(new DataColumn("Selected", typeof(bool))); if above datatable ...
0
votes
1answer
57 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 ...
0
votes
1answer
69 views

Sharepoint list search to update multiple controls

I want to create a page it will have the following 3 components on it. A Dropdown list populated with colors. A Custom list Web part with some textual information When the user chooses a color and ...
0
votes
2answers
453 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 ...
0
votes
2answers
208 views

Export SPGridView to Excel tabs

I have multiple SPGridViews on a page. I would like to export them all to one Excel document, each SPGridView on its own tab. Is this possible? This link is a great start but does not solve my tab ...
1
vote
1answer
1k 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 = ...
2
votes
1answer
147 views

Edit SPGridview on the fly like Access web part (Data sheet)

I understand the SPGridview control now, but how do I enable the spgridview (or another control) to behave and function like the access control when in datasheet mode?
2
votes
2answers
235 views

Single Quote Issue While Filtering Records In SpGridview

In SpGridview single quote is breaking the filter expression as we are having filter format as "{1} like '{0}'",any idea how we can handle this situation.
0
votes
1answer
2k views

CheckBox header to select all checkBoxes in SPGridView

I have a webpart with SpGridView. <SharePoint:SPGridView ID="grid" AllowSorting="true" AllowFiltering="true" CssClass="ms-listviewtable" runat="server" AutoGenerateColumns="false" ...
0
votes
1answer
488 views

Problem with visualization SPmenuField in SPGridView

I have created SPGridView and added one SPMenuField as the first column and some BoundFields. Then I added MenuTemplate to the first column. But there are rectangles with white color border (look at ...
1
vote
2answers
343 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 ...