.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to access and cutomize group row in a grouped SPgridView

Posted By:      Posted Date: September 13, 2010    Points: 0   Category :SharePoint
hi all! Is there any way to access and cutommize the grouped row of an SPGridView  --This is the row that display grouped value ! I can access all other row types such as : header row, datarow, footer row.. but i do not know to to access and custommize the grouped row... here the example code:This code set all value of all cell in SPgridView to "ABC"  when binding to datasource except grouped row     public void Rowdatabound(object sender, GridViewRowEventArgs e) {   foreach (TableCell cell in e.Row.Cells) {    cell.Text = "ABC"; }     }      

View Complete Post

More Related Resource Links

Problem with access to a user in AD group

Hi all, We are managing our security in Sharepoint (WSS 3.0) with AD groups instead of Sharepoint groups. This worked fine until now. For an unknown reason, one single user from an AD group cannot access a page (while other users from the same group can). The group is also a distribution list in AD (so it's a security group and distribution list for emails). It includes several other distribution lists such as: L-All-Corporate-Employees    L-Administration          User 1          User 2           ...     L-Accounting         User 1         ... ...   So far I never had any issue with that kind of approach,  but yesterday we published a new web part page and wanted only the corporate employees to get access to it, so I broke rights inheritance on the page and added the L-All-Corporate-Employees group with View rights. As I already said, I tested with one user from the group (let's say from the L-Administration sub-group) and it works, now I receive an email from another user (let's say from the L-Accounting sub-group) which tells me he doesn't have access... But they're all part of the L-All-Corporate-Employees group, so they should all

SharePoint 2007 to Access 2007 - Issues grouping by "Person or Group" field type/column

We are on SharePoint 2007 and using Access 2007.  The SharePoint list contains a column called Assigned Person, column type: Person or Group, single selection, displaying only the name 1) When we Open with Access and Export a copy of the data, then create a report from that table, we do not have the option to group on Assigned Person.  2) When we Open with Access and Link to data on the SharePoint site, then create a report from that list, when we group by Assigned Person... The same person has 2 groups - there are is no other grouping or sorts on the list, and i can't locate a correlation to another field to show why they would have to collections for the same person The Person or Group column sorts "from smallest to largest" as though it is a number field. The list is a task/activity tracking system we created custom for our needs.  We want to pull a weekly report, grouped by Assigned Person, but cannot get access to work.  We do not want to resort to anything more complex, as it takes a much longer process to have reports pulled by Chrystal or one of those types of applications.  And we cannot change out the field for something like a Choice column as the list already has a very large amount of content.  Can anyone assist? Is there a setting hiding somewhere that is causing the problem? 

restrict access for a single group to a single folder in a list


Hello and Goodmorning,

I have one list, organized with 3 folders.

I can create a group(s), add user(s) to this group(s). 

Now i need to assign access like this:  group1 can only see and 'readonly' folder1, group2 can only see and 'readonly' folder2, group3 can only see and 'readonly'...folder3!

Im sure this is possible, from similar non-programming posts on the forum.

I have been looking into SPRoleAssignment and SPRoleDefinition to define Group permissions but its the mapping them to specific folders that I am missing...

Enjoy your tea.







Grant access to the NT 'Everyone' group


Hi all

Dumb question (and an obvious one on top of that) - How do I add the 'Everyone' NT group to site visitors in SharePoint 2010 ?



How to get the permissions of a user or group that has "Limited Access" to a site



For a user or group that has "Limited Access" to a site, I'd like to be able to find all of the libraries, documents, etc that that user or group has been given permissions to.  I believe that I could accomplish this by iterating over all of the lists of the site, and then over all of the list items of each list, and checking if, for that list or list item, inheritance is broken and that user or group has been granted access.  However, I am hoping there is a cleaner, quicker alternative in which I don't have to iterate over all of the site content.

If that's not possible, I may be able to accomplish mostly what I need if I could find all of the site content which has unique permissions (and then simply iterate over that content to see if the user or group has been given permissions).

Any advice is greatly appreciated.




access row group total from row details?

I need to access the total value for a row group from the row detail cells, how can I do this? 

Javier Guillen

Restict access to page fields. How to show field value to members of certain group?


I have the fields that should be shown for members of one group. How to implement this behavior?

Also i need to restrict access to editing other field for all except of limited amount of persons. How to do this?


All these questions are related to Site Content Types and Page Layouts.

How can I create link table in an Access DB for a group permission in SharePoint?



I move all the tables to SharePoint site using "Move To SharePoint" button.  When it finished, access create additional link table called "User Information List"  However, I need a site owner permission list in my access table link(Not User Information List-it has too many list).

Can anyone help me, please?


User has access but is not a member of any group


Help!  I have a user that access to all of the content in my site even though he has been restricted for certain lists and for certain items within the list.  

To troubleshoot the issue, I have removed him from all security groups in the site.  He should have no access to anything in the site or any lists.  He can still see the items.  And when I click on a list item and check his permissions, here's what I see.  What do I need to do now?  Where is he getting all these extra permissions?


p.p1 {margin: 5.0px 0.0px 5.0px 0.0px; font: 14.0px 'Times New Roman'} p.p2 {margin: 5.0px 0.0px 5.0px 0.0px; font: 12.0px 'Times New Roman'; min-height: 15.0px} p.p3 {margin: 5.0px 0.0px 5.0px 0.0px; font: 12.0px 'Times New Roman'} table.t1 {border-collapse: collapse} td.td1 {border-style: solid; border-width: 1.0px 1.0px 1.0px 1.0px; border-color: #cbcbcb #cbcbcb #cbcbcb #cbcbcb; padding: 0.0px 5.0px 0.0px 5.0px}

Permission levels given to Matthew (domain\matt) 




The followi

Create Sites of different Departments and give the access rights on the sites according to the Group



I have to create sites for the departments like( IT, Admin, Payroll, HR and so on...) and these sites should be in the top link bar and according to the user's group or profile the above departments should be visible on the top link bar.

I want to use same URL but for different groups top link bar of the departments should be visible.

Example:in the top link bar HR department should be visible only for the HR. and If i create a group that can see the two departments then two department should be visible in the top link bar.

Thanks and Regards




I requested access to use the excel 2005 data mining addin from our IT group and this is the message


I requested access to use the excel 2005 data mining addin from our IT group (specifically being able to connect to ana instance of analysis services and have the addin create models on the server. This is the message my IT group sent me

The 2005 data mining add in requires SSAS administrative privileges to install and operate. Since there is no separate SSAS administrative role outside of sysadmin for the instance, the IT policy is not to grant sysadmin roles to end users.

Can anyone say if this is typical at other organizations?

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

Problem to group radio button across gridview rows

In general no one can easily group or make a single selection from radio button list inside gridview rows. There are a lot of way to make a single or unique selection from list. Here i want to share how i can address this problem in the most easiest way. Googling the problem most of the cases i saw the grouping in horizontal way. Thats why i tried to group the radio buttons in vertical manner. Let i have a requirement like below:

Group Calendars in SharePoint 2010

One of the many requests I had in SharePoint 2007 was the ability to place SharePoint Calendars on top of each other like you can in Outlook 2007 saving you having to look at each and work out when the best time is for a meeting.

Store and Display Images from MS Access Database Using C#

There is only the difference of coding syntax to stream the binary data of image content type to upload it into MS Access Database using C#/VB in ASP.Net 2.0

Namespaces required:-
using System.Data.OleDb;

OleDb is used to connect the web site forms with MS Access Database using Microsoft.Jet.OLEDB.4.0

ASP.Net Upload Image to MS Access Database

As you learnt from the previous articles to upload image to the SQL Database in ASP.Net 2.0 and stream that image into the memory to retrieve it from the database and display it on the web page. In this article you will learn how to upload images to the MS Access database in ASP.Net 2.0

First of all create an Access Database and place it in the App_Data folder of ASP.Net web site project. Then create a table "tblImg" with the following fields:

ListViewControl - how to group items by their value, for eg. date range



I have a table containing courses, columns are 

Name - "Yoga Classes"

DateStart - "2/23/2010"

DateEnd - "2/24/2010"

I am using ListView Control to bind it, is there a way to display them and group them by Month? 

for eg.


Piano Class (10th Jan 2010 - 11th Jan 2010)
Guitar Class (10th Jan 2010 - 11th Jan 2010)


Yoga Class (15th Feb 2010 - 16th Feb 2010)

Thanks for help.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend