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 ...
0
votes
1answer
70 views

Can I achieve conditional formatting on a gantt chart?

I have created a Gantt view on a list, showing the Gantt chart and several columns. One of my list columns is a R/Y/G status column. I would like the cell that displays the R/Y/G status to show the ...
0
votes
1answer
29 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
51 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
25 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
418 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
223 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 ...
1
vote
0answers
500 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
0answers
13 views

How to get the name or title of document on click of a hyperlink in a grid view?

I have created a grid view web part and created a hyperlink column with this code : <asp:TemplateField HeaderText=""> <ItemStyle Width="70%" /> <ItemTemplate> <asp:HyperLink ...
0
votes
0answers
23 views

Why my grid doesn't have rows when I load my webpart?

Scenario: - Webpart with MultiView control. I have some GridView controls inside some of the Views. All these views are NOT the view showed when we load the webpart for the first time. - The idea is ...
0
votes
0answers
25 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
68 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
235 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
677 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
807 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 ...