1
vote
1answer
70 views

Opening ECB resets custom href of list items

Once a page finishes loading, I use JQuery to change the href of every item based on some custom validation. So far so good but my problem is that opening the ECB will reset the href of that item. I ...
3
votes
1answer
158 views

JavaScript Validation in ECB for out-of-the-box menu items

Is it possible to add some kind of JavaScript validation to ECB items like Edit Item, Check Out and Workflows? What I want is a simple JavaScript alert and redirect to the list if the clicked item ...
1
vote
3answers
2k views

sharepoint 2010 context menu event handler

i want to hide sharepoint 2010 list/library context menu based on users. i am using below javascript $(document).ready(function(){ $('.ms-MenuUIPopupBody').live('blur', function() { ...
0
votes
0answers
49 views

Hide SharePoint 2010 context menu [duplicate]

I am trying to hide the SharePoint 2010 context menu. I wrote the following code: $(document).ready(function(){ $('.ms-MenuUIPopupBody').live('blur', function() { ...
0
votes
1answer
51 views

Enable ECB only for particular extension

I have created an ecb on document library. I want it to show only for particular extension, I know it could be done by editing core.js but is there any other way of doind it ? Thanks
3
votes
0answers
147 views

Adding ECB to search results

I need to add the ECB functionality to the results of a document search (Core Search results). Does anyone know if this is possible? I was hoping to add this through the XSL of the web part but ...
0
votes
2answers
1k views

Open page as modal dialog from ecb

When I click manage permission button in ecb menu in a list a new user.aspx page is opened. I want to open this page in modal dialog. How can I do it? I know about msdn and this solutions, but the ...
1
vote
1answer
637 views

Library ECB shows “Change New Button Order” for all users

We have a document library which has content type management enabled. The library allows two content types, one based on Document, the other on Document Set. We also have a custom action attached to ...
6
votes
2answers
1k views

Sending documents as e-mail attachments

We have document library where we store various types of documents (word, ppt, infopath templates etc..) The requirement is to send them as e-mail attachments directly from SharePoint Document ...