Event handlers is a program statement which is called from an event. The event can be a human striking a key on the keyboard or pushing a button on a web page

learn more… | top users | synonyms (1)

1
vote
0answers
10 views

NotifyHandler: email messages not catched for FBA users

I wrote a simple NotifyHandler to change the url in mail messages sent to external people. The SP site is 2013 and has 2 frontend, a intranet one with integrated windows authentication accessible ...
0
votes
0answers
13 views

Why alert Events trigger twice

I have a custom Alert dll that send custom email messages. But everytime the alert event triggers, it does twice and send two Mail message. Another strange problem is that, often the runtime jump some ...
1
vote
1answer
19 views

Custom Alert does not trigger

Has anyone successfully implemented IAlertUpdateHandler on SP 2010? When I try to add a new alert on a document Library following this tutorial, everithing seems to be fine. But when I try to insert ...
0
votes
1answer
16 views

List Subcription EventHandler

I'm trying to built a custom code that should run on Subscription event. As we know, When people Subscribe to a Sp List, you receive a Mail Message on your Box. I Should intercept that Event. I've ...
1
vote
1answer
17 views

Append several columns to another SharePoint list using event receiver

I am working on two SharePoint list:List 1 is overview of servers including: Server Name, Purpose, status etc.. List 2 is change log on each server, it got an lookup column that connects to Server ...
1
vote
0answers
20 views

Prevent update of SharePoint document library item when clicking [OK] button in Edit Form

I am developing a SharePoint (2007) document library item event receiver to force the user to click on the [Cancel] button instead of the [OK] button in the Edit Form (EditForm.aspx), since clicking ...
3
votes
0answers
42 views

Event receiver on external list

Recently I am working on a project to set event receiver on external list. Below list what we have done Create trigger to capture data change in database and log them into data table Implement ...
1
vote
2answers
58 views

WebProvisioned event handler is firing twice and subsite does not inherit the parent's top navigation

I have created an web event receiver but the webprovisioned event handler fires twice. I have set the scope to web, but it still fires twice. Problem 1 This is elements file: <Elements ...
2
votes
1answer
91 views

Can I use a remote event receiver on a non-app custom list in SharePoint Online?

Is it possible to associate/register a remote (provider-hosted) event receiver with a custom list that is not part of a provider-hosted app (e.g. the list is on a site, but is not within an app)? If ...
0
votes
0answers
32 views

Rename Folder in ItemUpdating

I just wanted to rename an item of a custom content type based on the default folder content type while it is being created. My idea was to do it in ItemUpdating event due to other operations I am ...
0
votes
1answer
37 views

Event handlers not triggering when attached to custom list (2013 on-premises)

I have a three 2010 event handlers installed on-premises on 2013 foundation that are all part of the same solution (added, updating, updated), none of which are triggering when they are attached to ...
0
votes
1answer
44 views

Event receiver, unpublish

Hi how could i use a event receiver based on a document library, to se if the user has unpublished a dokument in the library, in the mean time also i want to update a field in the document library ...
0
votes
1answer
66 views

ItemAdding list field

I am trying to update list field using ItemAdding, public override void ItemAdding(SPItemEventProperties properties) { SPListItem curListItem = properties.ListItem; ...
1
vote
0answers
11 views

Event for DateTime Controller, when the DateTime Controller is Cleared

I am using a DateTime Controller with an event validator (Required Field). I need to fire an event when a user clears the DateTime Controller (Empty). I was trying to do this in ...
0
votes
0answers
18 views

event receiver preventing column updates in a content type during bulk upload

I am bulk uploading files to a library. In the bulk upload, i will be able to specify content type of the file and values of all other fields for that content type. When i upload files, the file ...
0
votes
0answers
20 views

Why does SPItemEventReceiver require synchronous operation to send email with smtpclient?

Using System.Net.Mail with an implementation of SPItemEventReceiver, when i bind my implementation I am not allowed to send emails with the SmtpClient unless using the synchronous setting for the ...
0
votes
0answers
124 views

Ajax calls not working in ShowModalDialog

I have Hyperlink in my masterpage, and when users clicks on it, a modalpopup should display with updatePanel divfrom MasterPage. Here is the MasterPage div that has UpdatePanel - <div ...
0
votes
1answer
214 views

Passing Parameters On Ribbon Button Click

I have added a button to the ribbon for a specific content type on a list (parent list). This is the only content type on the parent list. When an item in the parent list is selected and then the ...
0
votes
1answer
185 views

Manage Multiple ItemUpdating Event Receivers On List

I have a requirement to multiple Event Receivers targeting Custom List (100) that fire on the ItemUpdating method. For one of the Event Receivers the requirement is to check that there are no related ...
0
votes
1answer
56 views

How to prevent Files with same Name?

I have a service that takes a file from a library and send it to an already specified folder. This becomes a problem when I'm having files with same names on diferent folders. Lets say that the ...
0
votes
1answer
152 views

How do I know whether an Event Handler has already been attached to a SharePoint O365 list?

I have a SharePoint O365 site which has a custom list named ReportMetadata. There is an event receiver for this list for ItemAdded event which will take the image from the attachment column of the ...
0
votes
2answers
250 views

SPGridView SelectedRow.Cells[] returns empty value

I have created an SPGridView control in my visual web part. Inside SPGridView, there is an SPHyperLink control that stores some URL. When accessing this value using SPGridView ...
0
votes
2answers
187 views

How to trigger a click event for a column item in SPGridView control

I have created a SPGridView control in a visual web part project. This control displays all the folders inside a Document library. I have used SPBoundField to the display the column data. Is it ...
1
vote
3answers
766 views

How to get absolute previous url in event receiver?

I have a root site list which I am displaying on several sub-sites using CQWP based on a custom filter and entering the list values frm sub-sites itself to the root site list. So I am trying to ...
2
votes
1answer
250 views

SharePoint Document Library document delete

Please suggest your solution for the following scenario: A user deletes the document from document library and an e-mail has to be triggered to the admin notifying the information about the document ...
1
vote
1answer
293 views

Automatically Setting the Masterpage in Sharepoint 2013

I am trying to install our custom masterpage (and supporting files) as a feature which would automatically turn on and set the default masterpage to our custom one. When deploying in VS2012, it works ...
1
vote
3answers
55 views

ItemUpdated Event Handler after list item is Liked

I have a document library that upon an item being liked (updated) it adds an entry in to another list. Everything works fine except the new list item is being created by the System Account instead of ...
4
votes
1answer
123 views

Synchronous ItemAdded event. Do I need to explicitly call properties.Dispose()?

We have a SharePoint 2010 On-Prem solution. I have an ItemAdded event receiver which has been made synchronous using the Synchronization property. Now, when this event receiver fires, I have used the ...
1
vote
1answer
28 views

Is there a good way to connect to a SQL Server using Windows authentication from a Sharepoint 2010 event hander?

Inherited some legacy code that makes use of SQL authentication which I want to eliminate. When I tried using Windows auth, the connection seemed to be getting created using ANONYMOUS LOGIN. is there ...
1
vote
2answers
157 views

How to get LookupValue in ItemUpdating

I have a custom EventHandler for ItemUpdating on a list which has a Lookup column. If I look in the properties.AfterProperties for the column in the ItemUpdating event I get the LookupId value but ...
3
votes
1answer
81 views

Ascertain the method of file upload in SharePoint 2013 document library?

In an ItemAdded event receiver, is there a way to ascertain whether the file was uploaded via the "new item" button in the document library or whether it was dragged and dropped into the browser ...
0
votes
2answers
426 views

Redirect after deleting a list item

I have a requirement wherein I have to redirect the user to the homepage, after a list item is deleted. Right now, the corresponding list is shown after the deletion. How can I accomplish this? I ...
0
votes
1answer
69 views

Cancel an event handler based on user permissions

while adding an item to the sharepoint list i have created one custom group. if the user not belongs to certain group means the event handler should be cancelled.
1
vote
1answer
205 views

SharePoint Hosted App Event Receiver

Is it possible to create an event receiver on a list deployed in SharePoint hosted App?
2
votes
1answer
46 views

Content type eventhandlers gets bound to list

I have a custom parent content-type on which I apply 6 event-handlers. I then have 24 content-types based off of the parent content-type - thus inheriting the 6 event-handlers. - All defined in XML I ...
0
votes
1answer
170 views

Trying to populate HyperLink type list item value in Event handler

I am trying to populate SiteUrl field in itemAdded event, this code doesn't give me error but field is not get populated public override void ItemAdded(SPItemEventProperties properties) { ...
3
votes
3answers
72 views

Delete the item once it is added

I want to perform some Action once the item is added. I have a Custom List that reacts on Item Creation. If, at this level, i want to Delete the item immediately once it is added, how could I do? ...
0
votes
1answer
183 views

Update Managed metadata column Values based on other Managed metadat column

I have two managed metadata columns :- Country --- America, India City --- Sydney, New York, Bombay, Pune. If I select America as Country I should only be able ...
2
votes
1answer
832 views

Sharepoint Foundation 2010 : Unable to create new sites in my site collection

So I had originally upgraded an old WSS 3.0 site to SharePoint Foundation 2010 by the database attach method. Site worked fine for a couple months until now. Now we our unable to create new sites in ...
4
votes
1answer
1k views

Enlarge Newsfeed images on SharePoint 2013

I am a bit stumped why I have not found much information on this topic or why no one is asking the question. Maybe it is just not possible. My question being: Are you able to enlarge Newsfeed images ...
0
votes
1answer
494 views

Why ItemUpdating is calling after ItemAdded event in Sharepoint-2010?

I am developing Sharepoint 2010 application where I have been using SPItemEvent to deal with ItemAdded event. One thing surprised me that ItemUpdating event is calling after ItemAdded event in List. ...
0
votes
1answer
457 views

Event Receiver Item Updating Datasheet view Problem

I've got a list that is being displayed and edited in datasheet view and now I need to ensure that users cant edit a column if there already is a value, but if the column is empty they should be able ...
0
votes
1answer
923 views

Can Event Receiver be used in Sharepoint Client Object Model 2010?

I need to e.g detect in a console application any updates that affect items in a SP list. Thanks!
0
votes
1answer
1k views

How to show a javascript alert and close the browser tab on button click [closed]

I have a web part with button that is clicked upon approval of a workflow. I want to add a JavaScript alert after performing all the button click c# code and then upon closing the alert the browser ...
2
votes
1answer
936 views

SPContext.Current.FormContext.OnSaveHandler Not Firing from Custom Field Type Control

I am having the exact same problem described here. Unfortunately because I don't have 50 points yet I can't comment on it so I have to create a new duplicate question. I mean it's not "100% EXACTLY" ...
0
votes
1answer
419 views

Event handler for document library in Sharepoint 2010

Using VS2012, I'd like to create an event handler for a document library. When a document is added to a library, an entry is created in a list. That list entry contains all the metadata from the ...
1
vote
0answers
120 views

Notifying a webservice about list update events

I have a custom webservice hosted in SharePoint that caches data from a certain list. It needs to update the cache every time the list is updated. It seems to me there are 3 ways this could happen: ...
0
votes
2answers
5k views

How to update calendar item created by an other list?

Appreciate any thoughts on this: A user edits an existing list item to pick a date to select a project deadline. A custom workflow, initiated by that item change, takes that date and project title ...
0
votes
2answers
2k views

How to display and get the value chosen in an User field?

I'm very new at Sharepoint and I faced to a trick issue. Here is the situation : in an .aspx.cs file, I've created an EventHandler called btnValidate_Click, raised on a click on a button. In this ...
1
vote
2answers
510 views

Remote event receiver on sharepoint 2013 online does not work

I recently started to develop Sharepoint 2013 on my office 365 account. The problem is that remote event receivers which I attach to deploying application do not work. I mean that they should listen ...