I've created a Sharepoint context menu custom action and I want to display the it when the feature is activated.
how can i do this ?
Code:
<CustomAction RegistrationType="rt1" RegistrationId="0x010100EB674074C71B4AA7BA42EF61F36ADA2E"
Id="CDocuemnt"
Rights="EditListItems"
Description="CDocument"
ImageUrl="Version.gif"
Title="CDocument"
Location="EditControlBlock"
RequireSiteAdministrator="FALSE"
Sequence="428">
<UrlAction Url="javascript:__doPostBack('project.Document.CDocument','{ItemId}#{ListId}');"></UrlAction>
</CustomAction>