1
vote
1answer
51 views

How do you display information in multiple columns programmatically in a web part?

I am developing a web part (not a visual web part) that displays the site owners of a SharePoint site and their email addresses. Right now I am displaying the information in a listbox. It displays the ...
0
votes
4answers
697 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 ...
1
vote
1answer
1k views

GridView CommandField issue

I have a small problem with a GridView in my web part. I bind a DataTable to the SourceData of my GridView and check if the current user is an administrator. If he is, I will add additional ...