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
1answer
145 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
213 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
441 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
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
232 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 ...
0
votes
0answers
479 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 ...
0
votes
2answers
624 views

Show headers on empty data source in SPGridView

I have a webpart with SPGridView. I created column dynamic. This works fine when I have data, but when no rows are returned then I just get a blank spot where the grid should be.
1
vote
1answer
112 views

How do fix height of row in SPGridview?(do't wrap row)

I have a Spgridview. I created columns in page-load . When bind it, the height of row is different. Its height varies based on the content within it. How do fix it?
1
vote
1answer
681 views

How to format the spgridview filter data?

I have a SPGridView where I am binding a calculation field. I am dynamically binding data to sp grid view in a web part. The filter value is displaying like String;#filterexp1, String;#filterexp3, ...
1
vote
3answers
2k 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
2answers
85 views

Why does the GUID show in my Column information when using spgridview?

I am using spgridview to collect document information from multiple document libraries in my SharePoint 2010 publishing site. When the column information is displayed, it seems that a GUID or ...
1
vote
2answers
887 views

spgridview clear filter programmatically

I have a textbox a button and a spgridview. When the button is clicked I will search SharePoint with the value in the textbox and bind it to the spgridview. (I'm using LingDataSource). After I filter ...
1
vote
1answer
79 views

Properties are null while DataBind

I'm having a spgridview in a visual webpart. The datasource of this gridview is written in the ascx-file and has a selectmethod in codebehind. The problem is that while the datasource does it'S ...
0
votes
2answers
2k views

How to Export sharepoint 2010 SPGridView data to excel

How to Export sharepoint 2010 SPGridView data to excel. My data with tree strutured is avilable in spgridview. Note: if any of the column value contains multiple value then i need to convert into ...
1
vote
0answers
256 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
1answer
697 views

Binding User to SPGridview

I have an SPGridview and I made a CAML Query to get the modifier of a document. When I bind it to the SPGridview with a SPBoundfield the value is displayed like this: 1;#HANSEVIS13\sschindler ...
0
votes
1answer
1k views

SPGridView and ButtonField

I have an SPGridView with RowCommand event handler defined to handle link events from the grid view. I have a ButtonField on every row defined with CommandName and DataTextField. When my event ...
1
vote
2answers
2k views

SP Gridview link button column not working

I have one sharepoint custom page application which is rendering from a user control. In the user control page, i had used SPGridview for displaying data. My first column is Title Column (link button ...
2
votes
1answer
538 views

datalist item template in webpart for sharepoint list

i am looking for some cool stuff / example to work around with ASP DataList ItemTemplate to provide an interesting look and feel !! well i have a SharePoint (2010) List that has 3 columns (Title , ...
0
votes
1answer
555 views

what's the best practice to display tabular / Grid data in Sharepoint 2010?

We can develop a custom control in Visual studio and deploy it as a webpart to use in SP. but I head of some other ways, so can you please list possible ways to achieve this? and what's the pros and ...
1
vote
2answers
371 views

Remove arrows from menutemplate

I've create a web part that displays a SPGridView with an SPMenuTemplate. My problem is the context menu that pops up has these little arrows on the left hand side which are undesired and which also ...
1
vote
1answer
16k views

SPGridView Sorting, Filtering and Paging

I'm currently working on my first SharePoint web part to aggregate information from numerous announcement lists in various sites and allow them to be displayed in one single web part. I've used two ...
1
vote
3answers
607 views

Using code compiled for MOSS 2007 in 2010

I'm using the SPGridView in a custom page which has been deployed via SharePoint Designer. Now in 2007 everything worked fine but in 2010, the paging doesn't work and results in an error if you try ...
3
votes
1answer
2k views

Problem with paging in an SPGridView

We are using SPGridView and binding it to the database. Paging is also enabled. The grid is showing 10 records as the pagesize is 10, but when we click on the next page it says "There are no items ...