How to redirect on new Page at Item Deleting in SharePoint ECB Menu?

1.    Create a feature to add the custom menu in the Feature and set the redirection to your custom Page. Create a feature.xml to add it as a feature.
<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="https://schemas.microsoft.com/sharepoint/">
                <CustomAction
                                Id="UserInterfaceLightUp.ECBItemToolbar"
                                RegistrationType="List"
                                RegistrationId="101"
                                Location="EditControlBlock"
                                Sequence="106"
                                Title="MY ECB DELETE ITEM">
                                <UrlAction Url=”/_layouts/DeleteItem.aspx?ListId={ListId}&amp;ItemId={ItemId}"/>
                </CustomAction>
</Elements>

2.    Create the DeleteItem.aspx and add the functionality to delete the List Item.

DELETEING THE ECB MENU
====================

The ECB menu item are rendered by the javascript file CORE.JS. By modifying the respective functions in this javascript file you can hide the ECB menu item from the item level menus. Modifying the CORE.JS file is not supported so it’s always recommended to create the custom core.js file and render it through the custom master page. The following are the steps to create a custom core.js file and render it through the custom master page

1. Copy the core.js file from C:\program files\common files\Microsoft shared\web server extensions\12\Template\layouts\1033 and copy it to the same folder with the name customcore.js. Make the respective changes in the customcore.js file.
2. Copy the default.master page and create the custom master page as custom.master.

3. In the custom master page Add the following line to render the core2.js file

<SharePoint:ScriptLink language="javascript" name="core.js" Defer="true" runat="server"/>
<SharePoint:ScriptLink language="javascript" name="customcore.js" Defer="true" runat="server"/>

4. Save the custom.master page and upload it to the master pages gallery of the site. Apply the custom.master page as the default master page for the site.