.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 display the edit button etc on the ribbon irrespective of who has checked it out

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :SharePoint
Is there a way that i can get the edit button etc displayed for all users irrespective of who has checked it out? Actually,i need the ribbon's edit,browse,page publish buttons active on the page even if somebody else has checked it out.I remember seeing an override checkout option available on the ribbon in some other site,But i do not have any such options displayed(I am also logged in and have full permissions).

View Complete Post

More Related Resource Links

Unable to Edit the properties of a document using the ribbon


I have created a new web part page and added a document library to that page.  In the ribbon the "Edit Properties" icon is enabled and I can edit the document properties.

When I add another web part to the page and go back to select a document, on the ribbon the "Edit Properties" icon is no disabled.  I can still edit the document using the context menu of the document.

Permissions on the library did not change when I added the additional web part.  The only change to the page was adding an additional web part.

How to dynamically hide stock edit/display form?


How can I dynamically hide/show the stock edit or display form of a list item?

wss2.0 edit drop-down menu does not display


Hi all

I have a user who is unable to view the edit drop-down menu next to documents in a document library.

The user was able to view the drop-down before, but it seems since upgrading to either Office 2007 or IE7 that the problem is occuring. The user is an administrator on the site so it doesn't seem to be permissions issue.

I have had the user run an Office Diagnostics but this did not resolve the problem.

Any ideas please?

How to get the combobox value inside Datagrid on Edit button click event

Hi     I have Datagrid template column like<DataGridTemplateColumn.CellTemplate></DataGridTemplateColumn>DataGridTemplateColumn Header="Edit" x:Name="Edit" ><DataGridTemplateColumn.CellTemplate></DataGridTemplateColumn.CellEditingTemplate></DataGridTemplateColumn>SelectionChanged="cmbDGTeam_SelectionChanged" IsTabStop="True" /></DataTemplate><ComboBox Height="22" IsEditable="True" IsReadOnly="True" ItemsSource="{Binding}" DisplayMemberPath="Title" SelectedValuePath="TeamID" x:Name="cmbDGTeam"  SelectedValue="{Binding Path=TeamID,Mode=TwoWay}"<DataGridTemplateColumn.CellEditingTemplate><DataTemplate><DataTemplate><TextBlock Text="{Binding Title}"/></DataTemplate></DataGridTemplateColumn.CellTemplate><DataGridTemplateColumn Header="Team" Width="75"><DataGridTemplateColumn.CellTemplate> and Edit button Template column <DataGridTemplateColumn Header="Edit" x:Name="Edit" > </DataGridTemplateColumn.CellTemplate></DataTemplate><Button Content="Edit" IsEnabled="False" x:Name="btnEdit" Click="btnEdit_Click" ></Button>&l

Customize Form button now showing up on ribbon

I used SP2010 Beta for 7 months and the Customize Form button was available on the ribbon for lists. Now, I am on the RTM, and cannot figure out how to show this button. Is it a feature? Do you have to have InfoPath 2010 installed locally? (I do have this, but just wondering). Thanks in advance.

Cannot enable Ribbon Edit Tab buttons and "connect" them to a list item in my custom webpart

I have one list with some custom fields and I want to develop a custom page. So, I created an ASPX page and added my custom webpart. This webpart has just a RichTextField, in edit mode, "linked" to one item of the list, like below: SPSite _SPSite = SPContext.Current.Site; SPWeb _SPWebProjects = _SPSite.OpenWeb("/Projects"); SPList _SPListProject = _SPWebProjects.GetList("/Projects/Lists/Project"); int _ID = Convert.ToInt32(this.Page.Request.QueryString["ID"]); RichTextField _RTF = new RichTextField(); _RTF.ID = "RTF"; _RTF.ControlMode = SPControlMode.Edit; _RTF.FieldName = "History"; _RTF.ItemContext = SPContext.GetContext(HttpContext.Current, _ID, _SPListProject.ID, _SPListProject.ParentWeb); _RTF.RenderContext = SPContext.GetContext(HttpContext.Current, _ID, _SPListProject.ID, _SPListProject.ParentWeb); this.Controls.Add(_RTF);   Then, I "turned on" the edit tab on the ribbon by doing the follow: protected override void OnPreRender(EventArgs e) { SPRibbon _CurrentRibbon = SPRibbon.GetCurrent(this.Page); _CurrentRibbon.TrimById("Ribbon.WebPartPage"); _CurrentRibbon.MakeTabAvailable("Ribbon.ListForm.Edit", string.Empty); _CurrentRibbon.MakeContextualGroupInitiallyVisible("Ribbon.ListForm.Edit", string.Empty); _CurrentRibbon.Minimized = false; _CurrentRi

hide EDIT mode from the ribbon

Hi, I am creating a page in SPD 2010 contain custom form that insert items in a list (Poll).  the problem is when i browse the page, by default the ribbon goes to the edit mode. please see the snapshot http://www.exceeditacademy.com/pdf/issue.jpg my question is: - how to force Ribbon to go to the browse mode dirrectly ? or - How to hide the edit mode from the ribbon ? thx

Trim "New Quick Step" ribbon button

Hi all. I succesfully trimed two buttons from: Library Tools - Library - Cutomize Library using :  ribbon.TrimById("Ribbon.Library.CustomizeLibrary.EditList"); ribbon.TrimById("Ribbon.Library.CustomizeLibrary.EditDefaultForms");   Just cannnot find Control ID for "New Quick Step" button here: http://msdn.microsoft.com/en-us/library/ee537543.aspx Help, please. Thanks.  

How can I change XSL in WSS 3.0 for Search Layout - I need to add a button\link "Edit Item"?

Hi, WSS 3.0 on SQL Server 2008 for Workgroups Does anyone know where the xsl file is to change the Search Layout (NOT MOSS) and/or do you know of any links that are useful? Thanks. John.

Need advice to display data in DataGridView, then edit dan save the data

I am Winform Beginner. To display data using DataGridView is ok with me. How the best way to select row in DataGridView, then edit and save. Did this DataGridView can editable? or Once row in DataGridView is selected, then popup another form to perform edit transaction. Really need advice and good example

My script is disabling the page edit button (not intentionally)

I have a jQuery script that injects content into a publishing page.  When it does, the edit button (the little one beside the browse tab) no longer works.  If I don't run the script on page Ready, but run it through the Firefox console after the page has fully loaded, everything works fine.  All I can deduce is that some SP script is assigning an event to the edit button after the page is loaded, and my script seems to be conflicting with it.  I have tried using various delay methods such as ExecuteOrDelayUntilScriptLoaded, but nothing seems to work. Is there any way of telling when SP has finished all it's scripts on page ready?   I've spent hours on this, so am ready to just re-assign the click event, but don't think that's a great solution. Appreciate any insight.

how can I display radio button list item


I have a radio button list item on the page.

I want that on the  selection of  the second list item , it will call a javascript function and display another radio button listitem on that page.

Now i can call the javascript function but cant able to make hidden or display of the radio button list item.

I need it using javascript only. 

VS 2010 unable to edit or display xaml files.


I am having a problem using the editor for xaml files in Visual Studio 2010.

I have used Visual Studio 2005 and 2008 for many years.  Over the last year or more I have been constructing and maintaining a Silverlight application, editing both the xaml code and using the design mode.  I am quite familiar with it and it worked fine.

However we recently installed several copies of Visual Studio 2010 as trial versions and since it seemed OK we converted to the full version.  However now I am having trouble viewing xaml files in the editor, in either the design mode or as text. 

Double clicking on a xaml file in the Solution Explorer, which should start the xaml editor, now does very little, leaving the main screen blank. The file seems to be open since it is listed in the list of open files in the 'Windows' drop down menu.  If I ask it to reload the file it says it is already open and do I want to close it before continuing.  But it is not accessible or visible.

Right clicking on a xaml file and selecting 'Open with..' shows the 'Automatic Editor Selector' is selected as default.  If I select 'Text Editor' I can at least see and edit the xaml code.  But I can not see the design mode.  If I select 'Windows Presentation Foundation Designer with encoding' from the 'Op

Button in Ribbon.ListItem.New doesn't appear when list is added via a webpart


I have added a button to a project task list (id = 150).
Everything works fine when I directly use the list. But when I add the list via a webpart to the site page my new button is not available. It's exactly the same ribbon as in the list view but my new button is not visible. Any suggestions?

  Title="Ribbon Customization for a Content Type">
    <CommandUIDefinition Location="Ribbon.ListItem.New.Controls._children">

How to display MessageBox with 'OkCancel' Button in asp.net


Hi ,

I need to display a meesage Box with OkCancel button.So when user click "Ok" button I need to do something else nothing.

My web page is with ContentPage without html tag. So i dont know where to place my java script.

But i registered it when page load. When I clicked on the save button the messageBox does not appear and

with error " Expected ';' "

Can someone advise me on this..thanks.

 Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim script As String = ""
        script = "<script language=javascript id='MessageBox'>" & _
                    "funcion(Save()) " & _
                    "{" & _
                    "if (confirm('Save Record')==true ) " & _

Gridview Edit button


is there anyway to show edit button only for selected row in gridview 

now if i click on select button edit button will show for all rows but i want to display edit button only for selected row 

Hide ribbon, Hide site content/recycle button. Caledar overlay. Document publishing. Other questions


I have a 2010 farm operational and working well. I had a few questions.

(1) How to disable ribbons from appearing on the top (for anonymous sites).

(2) When I move the mouse over a tab in the top bar, how do I display a banner. It was easy enough in 2007, but I am not sure in 2010.

(3) I have disabled quick launch. But it still displays all site content and recycle bin. Is there a way to not to show those.

(4) Calendar overlay - Is this to display multiple calendars in one calendar using different colors to differentiate them. But if I had calendars in different site collections, then I guess due to the gallery boundary, I cannot calendars from multiple site collections.

(5) Document publishing - For some reason, this was easier in SPS 2007. I am not able to get it to work in 2010. Basically update a web page dynamically from a word document. Could anyone kindly provide a link. Also, would I be able to update a page in one site collection from a document from another site collection.

(6) Is it possible to move a folder/doc from one document library to another in one site collection (without webdav). Further, can I move a document library from one site collection to another.

Please advise. Sorry if I asked too many questions in the same post. I am newbie and this is my first post.



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