Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I got this problem, but it only appeared if the page to show after posting was set. If it was set, for some reason the AfterSubmitPostedData event did not fire.
private void Page_Init(object sender, System.EventArgs e) { if (CurrentPage.Property["MainXForm"].IsNull) { return; } SetupForm(); FormControl.FormDefinition = Form; FormControl.BeforeReadingPostedData += new SaveFormDataEventHandler(FormControl_BeforeReadingPostedData); FormControl.BeforeSubmitPostedData += new SaveFormDataEventHandler(FormControl_BeforeSubmitPostedData); FormControl.AfterSubmitPostedData += new SaveFormDataEventHandler(FormControl_AfterSubmitPostedData); FormControl.ControlsCreated += new EventHandler(FormControl_ControlsCreated); }