Hmm ok I created some CaptureForm : FormsControl - as in some example. In this capture form I've got submit.Click event which fires SubmitClick method (based on
). Ok, so I have some CaptureForm which should take 'parent' form events like Submit.Click ;) Firstly I somehow made something simmilar - I builded ascx and cs files and gave it to Widgets, then imports into sitefinity. Next I drag&dropped in on my page so as I think created some container for forms. Another step was to drag&drop 'Form' on it (not next to it but into it) and select desired form.
After this I started my page by running visual studio program and after click submit button I could debug and so on.
My question is, why now I cannot do this?Everytime I try do drop the 'base' form (lets say that container) I got error that Widget need to inherit UserControl.
But to take the form events it needs to inherit by FormsControl as I guess.
If possible would be something like that - I create some simple custom widget which has SubmitClickEvent and so on, just drop it to page and next to it drop some form and the widget would do its stuff.