Disable a row in Shrepoint 2010 List

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
aqibsp82Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
66866Connect With a Mentor Commented:
in that case, you will have to use DataView webpart where you can disable the row in SPD based on a flag.
0
 
aqibsp82Author Commented:
is it difficult..
0
 
66866Connect With a Mentor Commented:
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
 
aqibsp82Author Commented:
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
 
GreatGermCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.