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
0answers
421 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
557 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
109 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
604 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
82 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
793 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
73 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
1k 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
244 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
620 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
516 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
534 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
361 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
14k 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
580 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 ...