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

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.

This entry was posted in Dynamics CRM Known Issues, Xrm and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s