.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

How to Disable Check-In functionality in MOSS

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
Hi,   I am doing check-in and check-out functionalities for a sharepoint document library through SDK program. I want to remove the check-in option through programtically. Is it possible? Thanks & Regards Anil Chowdary

View Complete Post

More Related Resource Links

Disable check box in a gridview does not working



I have a check box in a template field in a gridview.

Based on some condition, I want those check boxs to  be enable and disable.

I am trying the below code but does working..

 protected void GVstudents_RowDataBound(object sender, GridViewRowEventArgs e)
              if (e.Row.RowType == DataControlRowType.DataRow)
                    string studentID = GVstudents.DataKeys[0].Value.ToString();
                    int stdID = Convert.ToInt32(studentID);
                    int schID = profile.getSchoolIDByStudentID(stdID);
                    int tchrID = profile.getTeacherIDByStudentID(stdID);

                    if (patti.chkIsTeacherPaid(stdID, schID, tchrID))
                        CheckBox cb = (CheckBox)e.Row.FindControl("chkTeacherPayment");
                        cb.Enabled = false;
                        cb.Checked = true;


any help??

Moss 2007 Document check out and check in errors


Users are receiving errors when trying to check in documents.


"The Web server is busy. Try again later."


"This document was checked out to your local drafts folder but the local copy could not be checked in to the site. Close any application that is editing the document and try to check in again, or discard the checkout."


"There is a problem with the Web server. Try again later, or contact the server administrator."

Workstation has office 2007, upgraded from 2003. Documents are being checked out, edited, and checked in properly. Any help appreciated. Thanks.

How to enable check in check out functionality for a custom list?



how could i enable check in check out functionality for a custom list? I know this exists for document libraries, but isnt this possible for custom lists?

Best regards,
Yavuz B.

My Blog http://www.starcoder.net

Customizing Send To Other Location Functionality for a document library item in Moss 2007

Hi All i have a requirment to customize the Send To Other Location funtionality. while using OOTB Send to Other Location option for a document library item we have  selection like Prompt the author to send out updates when the document is checked in? <input id="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateYes" name="ctl00$PlaceHolderMain$ctl01$ctl01$ShouldUpdate" type="radio" value="RadShouldUpdateYes" /><label for="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateYes">Yes</label> <input id="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateNo" checked="checked" name="ctl00$PlaceHolderMain$ctl01$ctl01$ShouldUpdate" type="radio" value="RadShouldUpdateNo" /><label for="ctl00_PlaceHolderMain_ctl01_ctl01_RadShouldUpdateNo">No</label> how we can set this option in my custom coding based on the user selection. i am not able to understand the functionality of the above option. can any one please explain the above option and let me know how to set this option programmtically in my custom code.   Thanks in Advance  muthu

How to disable "Colleagues on My Site" in MOSS 2007 from Manage Policy from SSP?


I am trying to disable "Colleagues on My Site" policy, under the Shared
Services Administration. But when I try to disable it it is not editable.
I can click edit but then enable is set and it is grayed out.

Any ideas


Remove Check in/Check out functionality altogether


Ideally, I would like for users viewing items in document libraries to not have the option to check out a document. I have done some research, and I am aware of how to hide/disable the corresponding buttons in the ribbon. However, the option to check out still exists in the contextual drop-down menu when a document is selected. 

Does anyone have any ideas? Thanks for your time.

Edit: Here is a link to how I am removing the ribbon buttons, I will continue with this and then go from there.



Update: I was able to remove the buttons from the ribbon successfully, But when I open the drop-down menu for a document I still have the option to check-out. Any way of removing this?

SharePoint disable loopback check (DisableLoopbackCheck dword in registry)

what is "loopback check " is actually and what is the problem if we disable this
Thanks and Regards Er.Pradipta Nayak

Disable Sharepoint Automatic Logout Functionality


Hi my sharepoint site automatically logout after 20 minutes of inactivity. How would I stop this? I want to extend it for 30days. I turned off Web Page Security Validation of Web application general settings (SharePoint Web Application Management category)in the sharepoint central administration . But still I get the issue.

Please somebody help me on this

MOSS 2007 - Access is denied. Check that the Default Content Access Account has access to this cont


Greetings folks,

I have MOSS 2007 running on Windows 2008 server.  I'm getting the following error when trying to crawl content.  "Access is denied. Check that the Default Content Access Account has access to this content, or add a crawl rule to crawl this content."  I have tried everything to correct this, and i'm about ready to pull my hair out.



Enable/Disable "Edit" and "Check In" buttons in Ribbon

We want to enable or disable "Edit" or "check in" buttons in ribbon depending upon code run in C#. We have visited a lot of resource but mostly describes for custom buttons. We need to do this for buttons provided out of the box. Any help?

Using a CompareValidator to check input is a valid date

The CompareValidator can do more than just compare two controls. You can also compare it against several of the main .net data types such as Date, Integer, Double and Currency.

To do this you would set Operator="DataTypeCheck" and instead of setting the ControlToCompare or ValueToCompare attributes as you normally would you use the Type="Date" (or any of the data types I have listed above).

Adding Dynamic Rows in ASP.NET GridView Control with TextBoxes and with Delete functionality

In my previous examples, I have demonstrated on how to add dynamic rows in GridView control with TextBoxes and how to save the values into the database. Now, seems that most of the developers are asking if how to add a delete functionality with it. So in this example, I'm going to show on how to delete a certain row in the dynamic GridView with TextBoxes.

Check All with JQuery and a Asp.Net GridView

Display a Grid on the screen with a checkbox in each row. At the bottom of the page have "Check All" button.

Typically if I need to do anything interesting I use a template column. So my GridView will look like the one below (most other columns removed for readability). The only interesting point to note is the CssClass="ApprovalCheckBox" in the CheckBox ItemTemplate.

MOSS 2007 Tutorials video

This link about how create sharepoint website ,blogs,team site,document lib etc

AJAX in MOSS 2007

These days implementing AJAX in sharepoint has become a important request for share point applications.

Here i'm explaining how to create and deploy a AJnAX webpart in step by step manner

Master Pages in MOSS 2007

'MasterPages' feature in sharepoint 2007 makes the entire customization job easy.In 2003 we used to face lot of issues to get the same look and feel and the standard behaviour for overall site. In 2007, customizing the look and feel for the entire site can be done in a simple way by using 'MasterPage' feature.

Content Types in MOSS 2007

In this article I will try to describe the one of the best feature in Microsoft office Share Point 2007 called Content Types.

Content types are simply collection of contents.Each content in a Content type can have different settings.Basically it is a reusable collection of settings which you want to apply to a particular category of contents.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend