Hi,
Are you using web part or control in the transformation? I am asking because web parts are not supported inside a transformation. Also, you need to keep in mind that there is a bit different lifecycle when loading the control inside a transformation. Have you tried wrapping the code into the update panel tags in the transformation code?
Also, what is the reason to display online form inside transformation?