SPGridview, a class of the Microsoft.SharePoint.WebControls namespace, represents a grid view that looks and behaves like a SharePoint Foundation list view.

learn more… | top users | synonyms

1
vote
1answer
21 views

Stop working of submit button after the last day to submit set by admin

I have a grid view and and a text box which submits the value after click of submit button. I have set a last date to submit the value. Now I want that after that date, no one should be able to write ...
1
vote
1answer
451 views

Gridview for picture library with link

Is there a out of box way to use the picture library on a page that will have grid view with link on the picture?
0
votes
1answer
9 views

Link button issue inside gridview in sharepoint

i have link button inside gridview. can some one help me to form proper URL for this <asp:TemplateField HeaderText="View" > <ItemTemplate><asp:LinkButton runat="server" ID="lnkView" ...
0
votes
1answer
46 views

How do you display a list of users with full control?

I am currently working on creating a visual web part that displays a list of users with full control to a SharePoint site, along with their loginID and email. The code I've written lists all the users ...
1
vote
0answers
24 views

LINQ to SP Problem

I have a following var resultsMarks = from mItem in MItemList.ToList() select new { ScienceGroup = mItem.ScienceGroup, ArtsGroup = mItem.ArtsGroup, CommerceGroup = mItem.CommerceGroup, ...
1
vote
0answers
368 views

why is Gridview moving infinetly to the right in visual studio 2010 designer view

In visual studio 2010, I have a gridview, with another inside, this has been working fine for 3 weeks, but today, it randomly begins to move to the right in designer, not when deployed, its jumping a ...
1
vote
0answers
185 views

How to add a choice field in JS Grid control

I need to add a choice field (dropdownlist) in each row of a JS Grid control. What is the PropertyID for a choice field. How to add a dropdown. Please assist. i tried like this,but this didnt work ...
0
votes
0answers
8 views

Tree grid expand not working in SharePoint 2013

I have written a code that represent data in tree grid in SharePoint 2010. and we have moved to 2013 with same code tree grid stop expanding giving me following JavaScript error. TypeError: tr.style ...
0
votes
0answers
36 views

Add Check mark in gridview &#x2713; in c#

Ta I have a gridview display some columns from a list, and I have a column named "Tax" its type is boolean, I want to put ✓ if it's "Yes" and X if it's "No" here's my code : SPSite oSite = ...
0
votes
0answers
160 views

How to show gridview with dynamic parameter in asp.net's ajaxtabcontainer programmatically after clicking tab?

Every user has identification id, I need to query database to obtain this id, then select data in gridview by this id as a filter. I create this in ajaxtabcontainer, at first page loading everything ...
0
votes
0answers
438 views

Adding Rows Dynamically to GridView on Button Click

I am trying to add rows to my GridView dynamically. I followed many blogs on this site and have been successful at doing that. Although there is one Issue. Each time I load my page it posts back and ...
0
votes
0answers
110 views

How I can fix columns row in sharepoint gridview?

I use SharePoint 2013 and Performance Point Service for business intelligence. I have a GridView in my page and I want after scrolling page , I can see name of my columns. I have a Grid like this ...
0
votes
0answers
786 views

How to create Grid view webpart using Visual Studio or code

I need a Grid View Webpart to display multiple rows and columns like an Excel range of columns​. i.e. Users are able to see different columns for different rows. Is it possible to do it via Visual ...