I have tried this.Submit(), this.Save(), but neither seem to actually work. Is there a simple way of doing this? I have also tried using a submit button and then using custom rules for that, but still nothing. Finally, I tried doing Execute, but still nothing. Save gives a securty exception (think it needs full trust), and submit just never submits then gives a dialog saying so. Any simple ideas? Thanks!
closed as off topic by Alex Angas Aug 6 '11 at 10:01
Questions on SharePoint Stack Exchange are expected to relate to SharePoint within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Not sure if it's the same problem, but please look at this post:
The issue they were having had to do with how they were invoking the code-behind...i.e. they were using "Send form data to a single destination" and had the form code behind a button versus using "Perform custom action using Code" from the Submit Options dialog.