I'm trying to create a multi-page bizform but i'm having a few problems getting started.
I found a previous post about it http://devnet.kentico.com/Forums.aspx?forumid=43&threadid=7325
but seam to be failing even at the first section.
I've created all the forms, copied/cloned the webpart, and added a "Next button".
But how do I use the Next button to change the form on the page to one of the Alternative Forms?
I have to following code on the button:
protected void Button1_Click(object sender, EventArgs e)
viewBiz.AlternativeFormFullName = "BizForm.MyBizForm.MyBizForm_Alternative1";
viewBiz.BasicForm.StopProcessing = true;
but this just refreshes the page with the original form.
Maybe i'm going wrong in thinking it would be this simple.
Does anyone have any working code or experience in this?
I can get the insert and save working fine via the button using the API (http://devnet.kentico.com/docs/devguide/index.html?bizforms_api.htm).
It's just changing the form once clicking "Next" that i'm having problems with.
Using the code above on the OnAfterSave event doesnt seam to work either!