12/13/2011 at 6:10 am #4899

Anonymous
Participant
I finally came up with a solution that worked fine for me:
I made a custom webpart (hidden) that got the selected value from the qSelector through the standard webpart connection. I then extended the standard NewForm and fetched the custom webpart through the code I posted initially, and got hold of the selected value through a property containing the value. This now happends when the user clicks the "Add new item" link and the NewForm opens