Dynamics CRM 2011 Customer Portal – Contact Us and Event Registration not saving – Resolution

By - February 24, 2012

I’ve been demoing and implementing the Customer Portal for Dynamics CRM 2011 A LOT lately. The latest “free” version that I downloaded from Microsoft Pinpoint seems to have a bug. When trying to submit on the “Contact Us” page or when submitting an Event Registration, the page appears to submit, but then you are returned to the page and all the fields are set back to blank. Also, the record is not saving as a new lead or a new Campaign Response in CRM.

 

I debugged the code and determined that there is no “Is post back” code on the onload event and it appears there should be. You can do this various ways, but to follow the ADX pattern, just place this line of code if (IsPostBack) return; at the top of the onload event of the respective form’s code page (.aspx.cs).

 

If there is a better way to do this, I’m glad to hear it. I’m sure they will fix this problem soon if they have not already.

 

Kind of a silly thing, but this will resolve the problem.

Receive Posts by Email

Subscribe and receive notifications of new posts by email.