Solved

Disable a row in Shrepoint 2010 List

Posted on 2010-09-01
6
368 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
Comment Utility
is it difficult..
0
 
LVL 21

Assisted Solution

by:66866
66866 earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Work Over Net is a new and very powerful collaboration product. With its new easy interface it is becoming very competitive to other similar products like webex and office interactive. WON 2010 have the standard business tools needed for multi-offic…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

10 Experts available now in Live!

Get 1:1 Help Now