I made some custom list definitions in Visual Studio 2010 and deploy them to SharePoint 2010. I also made a Visual Web Part with a form. With this form I'm able to feed multiple of my lists with just that one form (it's done with a loop in C#). For now, the Visual Web Part with that form is opened in a Modal Dialog with the help of a custom button in the lists Ribbon-Menu (CustomAction).
But I would also like to open the form by clicking on the default "Add new item" link which is positioned under each list. I think it would be enough to change the "Onclick"-method to the function which is already on the button in the Ribbon-Menu. But how can I change the "Onclick"-method? Or do you know any other solution?
Thank you in advance for your help!