Try our conversational search powered by Generative AI!

XForm Epi 5.2


Pretty new to EPi 5.2 but here goes.
Im trying to build my self an XForm.
Iam putting in one textbox and one button.
On the button, I tell the editor to Save In Database....ok....

Browsing the page that contains the form -> write blabla in the textbox and click submit generates the following throw:
System.Exception: Cannot find form to submit

A fast look in the Reflector tells me that this is catched in the Submitform virtual method in

Here is some part of the reflected code to SubmitForm virtual  method
   XFormControl xFormContainer = base.XFormContainer;
    if (xFormContainer == null)
        throw new Exception("Cannot find form to submit");

What I doing wrong, or what is it that im missing here.

Jun 08, 2009 12:55

(this is me, posting to my self after help from EPiServer Support.)

All DataBinds() have to be assignet a controler.
All DataBinds() that lives within a page_load / OnLoad must be captualted within a !IsPostBack check.

Also be aware to check third party codes.


Jun 24, 2009 11:09
Jun 24, 2009 18:52
Jun 25, 2009 8:27
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.