Solved

Disable a row in Shrepoint 2010 List

Posted on 2010-09-01
6
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 

Author Comment

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

Assisted Solution

by:66866
66866 earned 250 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 250 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

752 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