<p>I have a simple page with my <code>ScriptManager</code> and my <code>UpdatePanel</code>, and my <code>ContentTemplate</code> has one <code>ListBox</code> and one Label.  I am just trying to catch its <code>OnSelectionChanged</code> so I can update the text in the <code>Label</code>.  No matter what settings I try to tweak, I always get a full-page postback.</p>

<p>Is this really not going to work, or am I just screwing this up?</p>

[{'answer_id': 3084, 'author': 'Leon Bambrick', 'author_id': 49, 'author_profile': 'https://Stackoverflow.com/users/49', 'pm_score': 3, 'selected': True, 'text': "<p>You need to have Sharepoint 2007 service pack 1 -- or else there's no chance.\n(Sharepoint 2007 predates ajax 1.0 -- they built some support into service pack 1)</p>\n\n<p>Next, from a trouble shooting point of view, test that the <strong>exact</strong> same code functions as expected when hosted in a regular asp.net page. (Literally copy and paste your code across into a fresh page, to rule out any typographical errors). Ruling sharepoint in or out of the problem area will help narrow down the solution space.</p>\n"}, {'answer_id': 40225, 'author': 'Matt Bishop', 'author_id': 4301, 'author_profile': 'https://Stackoverflow.com/users/4301', 'pm_score': 0, 'selected': False, 'text': '<p>There\'s a specific problem with mixing doPostback, UpdatePanel and SharePoint -- and the symptom is exactly what you\'re seeing: a full-page postback instead of an asynchronous postback. See this KB article for a workaround: <a href="http://support.microsoft.com/kb/941955" rel="nofollow noreferrer">http://support.microsoft.com/kb/941955</a></p>\n'}, {'answer_id': 56272, 'author': 'kemiller2002', 'author_id': 1942, 'author_profile': 'https://Stackoverflow.com/users/1942', 'pm_score': 0, 'selected': False, 'text': "<p>Todd Bleeker at Mindsharp showed me a piece of code he wrote that can use Ajax on Sharepoint 2.0.  It was pretty cool.  I believe the company used it on their sharepoint site managment software if you want to take a look.  (you used to be able to request a 30 day trial).  I bet how to do it is on their yahoo group (I can't remember the name, but I am sure that if you search for mindsharp you'll find it.)</p>\n\n<p>As a note, Ajax has been around for a long time.  Microsoft easily supported it since 2002 maybe earlier with the release of IE 5.5 (I don't know about other browsers, I was doing internal development and we only supported ie at the time).  It just wasn't called that.  The term Ajax is nothing more than a marketing term that someone coined later on.</p>\n"}, {'answer_id': 58435, 'author': 'Eric Schoonover', 'author_id': 3957, 'author_profile': 'https://Stackoverflow.com/users/3957', 'pm_score': 0, 'selected': False, 'text': '<p>Getting the latest service pack for SharePoint 2007 will resolve your problem (and add full support for AJAX).  Without the service pack you will need to follow an example like that outlined in this article:</p>\n\n<p><a href="http://www.capdes.com/2007/02/microsoft_office_sharepoint_se.html" rel="nofollow noreferrer">AjaxBasePart: Easy ASP.NET 2.0 AJAX Extensions 1.0 and Office SharePoint Server 2007</a></p>\n\n<p>Posting this hear so that people know there is an answer even without the latest service pack (secretGeek\'s response seems to say there is no chance).</p>\n'}, {'answer_id': 66490, 'author': 'user9841', 'author_id': 9841, 'author_profile': 'https://Stackoverflow.com/users/9841', 'pm_score': 2, 'selected': False, 'text': '<p>If you have installed SharePoint 2007 (without Service Pack 1) then you can follow an example like the following article:</p>\n\n<p><a href="http://www.capdes.com/2007/02/microsoft_office_sharepoint_se.html" rel="nofollow noreferrer">AjaxBasePart: Easy ASP.NET 2.0 AJAX Extensions 1.0 and Office SharePoint Server 2007</a></p>\n\n<p>The reason for this is that there exists a specific problem with mixing doPostback, UpdatePanel and SharePoint -- and the symptom is exactly what you\'re seeing: a full-page postback instead of an asynchronous postback. See this KB article for a workaround: <a href="http://support.microsoft.com/kb/941955" rel="nofollow noreferrer">A Web Part that contains an ASP.NET AJAX 1.0 UpdatePanel control that uses the _doPostBack() ...</a></p>\n\n<p>Otherwise you can just install Service Pack 1 to fix your problem:</p>\n\n<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=4191A531-A2E9-45E4-B71E-5B0B17108BD2&amp;displaylang=en" rel="nofollow noreferrer">Windows SharePoint Services 3.0 Service Pack 1 (SP1)</a></p>\n'}, {'answer_id': 647386, 'author': 'Rob Windsor', 'author_id': 28785, 'author_profile': 'https://Stackoverflow.com/users/28785', 'pm_score': 0, 'selected': False, 'text': '<p>From a technology standpoint, Service Pack 1 <strong>does not</strong> add full support for ASP.NET AJAX. You still need use the workarounds described in the various articles mentioned in the previous answers.</p>\n\n<p>Particulary, you need to make sure that the web.config file for your SharePoint Web application has been updated to support the appropriate version of the ASP.NET AJAX Extentions.</p>\n\n<p>The fact that the web.config had not been updated was the mostly likely cause of the problem described in the original question.</p>\n'}]
['https://Stackoverflow.com/questions/3075', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/404/']