3
votes
0answers
73 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
116 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
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 = ...
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
4answers
657 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 ...
0
votes
0answers
424 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
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 = ...
0
votes
2answers
668 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"); ...
0
votes
2answers
559 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.
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 ...