Solved

Disable a row in Shrepoint 2010 List

Posted on 2010-09-01
6
387 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 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

816 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now