Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Disable a row in Shrepoint 2010 List

Posted on 2010-09-01
6
Medium Priority
?
427 Views
Last Modified: 2012-05-10
hi,
can anyone please tell me how to disable a row (can not be edited/deleted or anything Only viewable) in a list of sharepoint 2010 programmatically.
thanks
AB
0
Comment
Question by:aqibsp82
  • 2
  • 2
6 Comments
 

Author Comment

by:aqibsp82
ID: 33576637
is it difficult..
0
 
LVL 21

Assisted Solution

by:66866
66866 earned 1000 total points
ID: 33595955
You can create an itemupdating, itemdeleting event prevents users from item updating and deleting the row. What I am not clear is, how will you know which row is it? Is it by ID or by a certain flag on a column? Either way this is one approach you can try.
0
 

Author Comment

by:aqibsp82
ID: 33596189
thanks 66866
I just Dont want to take user to Item Updating/deleting screen.... the item should be visually disabled.... no one can even click on it...
:S
any idea?
0
 
LVL 21

Accepted Solution

by:
66866 earned 1000 total points
ID: 33596646
in that case, you will have to use DataView webpart where you can disable the row in SPD based on a flag.
0
 
LVL 17

Expert Comment

by:GreatGerm
ID: 36123412
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

972 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question