Tagged Questions
1
vote
1answer
44 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 ...
0
votes
1answer
798 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
607 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
3answers
438 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
326 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
172 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
419 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
367 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
70 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 ...