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

2
votes
2answers
522 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 ...
0
votes
1answer
31 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
15 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 ...
0
votes
0answers
18 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 ...
1
vote
0answers
14 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
2answers
658 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
4answers
656 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 ...
3
votes
0answers
71 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
45 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
59 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
54 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
489 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
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 ...
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 = ...
7
votes
1answer
1k 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
34 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
84 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
269 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
2k 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
126 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
356 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
59 views

SPGridview filtering loading problem

This page we are trying to access has 2000 records on an SPGridView. Whenever I try to filter, it gets stuck at the loading... text of the dropdown. This happens to all columns. Does this have ...
1
vote
1answer
1k 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
112 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 ...
1
vote
0answers
60 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 ...
3
votes
2answers
545 views

SPGridView filtering problem

I have a page with two links that will open two different SharePoint modal dialog. Each of this modal dialog contains a SPGridView data control with Allow Filtering set to True. My problem is that ...
0
votes
1answer
80 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
123 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
2answers
246 views

Display the data in spgridview with several column in each row

I need to develop a webpart which takes data from list and populate in spgridview. The webpart should look like in the image atached. I am able to display the column 1 i.e one image for each row but ...
0
votes
0answers
1k 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
1answer
115 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
50 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
1k 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
192 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 ...
1
vote
1answer
919 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
2answers
662 views

How do sort Templatefield in spgridview?

I have a spgrid with BoundField. I set allowsort to true. I bind datasource. but when i click in header dont sort?! DataTable table = new DataTable(); table.Columns.Add("Name"); ...
2
votes
2answers
2k 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
51 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
68 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
308 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
0answers
227 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 | ...
0
votes
2answers
172 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 ...
0
votes
1answer
200 views

Don't sort number in SpGridView

I have a SpGridView whit BoundFiled. I set a ObjectDataSource for it. sourceDataTable = new DataTable (); myDataTable = new DataTableWrapper(sourceDataTable); Type t = ...
2
votes
1answer
139 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
198 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
385 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
1answer
278 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 ...
1
vote
1answer
1k views

Building Dynamic SPGridView with SPDataSource, keeps given 'Value does not fall within expected Range'

I'm trying to build a SPGrid based on a particular List and View in a webpart (Visual WebPart). This should be basic, but when I add the webpart to the page I keep getting the error message "Value ...
0
votes
1answer
187 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
1answer
195 views

SPGridview Filters date formatting issue

I have an issue with spgridview filters, in my grid view i have column that contains start date and i have to display date in "yyyy-MMM-dd" format, i am able to do this with the custom itemtemplate ...