Custom pages not working properly within CRM 4.0

Hi,

Today on deploying custom pages within CRM, if found out that my drop down control was not working properly. On initial page load the drop down control was showing all the values but once the page is posted back it was showing no items inside it !

It happens becuase by default view state is disabled for pages within CRM 4.0

These are settings for the web.config within CRM 4.0

pages buffer=”true” enableSessionState=”false” enableViewState=”false” validateRequest=”false”

So just make sure if your pages are making use of view state or session state, ovverride the above settings for your custom pages!!

Few more tips
http://blogs.msdn.com/jannemattila/archive/2008/01/21/few-development-tips-for-crm-4-0.aspx

Bye.


Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

Share your thoughts

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 )

Google+ photo

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

Connecting to %s