Can’t get UpdatePanel in your web part to do AJAX-postback?

If your web part is creating the UpdatePanel dynamically, e.g. in the CreateChildControls() method, check that:

  1. The UpdatePanel has an ID assigned
  2. The UpdatePanel’s UpdateMode property is set to Conditional. The default is Always.
  3. The control triggering the postback (e.g. a button, or a linkButton) has an ID assigned
Advertisements

About Bernado

Based in Australia, I am a freelance SharePoint and Dynamics CRM developer. I love developing innovative solutions that address business and everyday problems. Feel free to contact me if you think I can help you with your SharePoint or CRM implementation.
This entry was posted in AJAX, SharePoint 2010, WebPart. 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 )

Google+ photo

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

Connecting to %s