I've written an AJAX RSS News feed web part (details/download/source
here:
http://svintinner.blogspot.com/2006/09/ajax-rss-web-part-for-sharepoint.html).
 The web part and the ajax code all work great.

Unfortunately, it appears that there is a conflict between the Ajax.NET
and the MSNBC web parts (Weather and Stocks) that come with Sharepoint
(in the Online Gallery).  As soon as I add the ajax verb to the
<httphandlers> section of my web.config file, the MSNBC web parts stop
working.  The MSNBC web parts popup a javascript alert message saying,
"Cannot retrieve properties at this time."

If I remove the ajax verb section from the web.config, the MSNBC web
parts immediately begin working again.  Add it back, and I get the same
error message.

I have tested on 2 different Sharepoint servers with the same results.
Please note that this error occurs even if the only web part on the
page is the MSNBC web part.  I should also point out that if I add my
web part to the page, it will work correctly, but the MSNBC web part
will not.

Here's the add verb line that I'm adding:
<add verb="*" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,
AjaxPro, Version=6.7.20.1, Culture=neutral,
PublicKeyToken=4735ae9824c7d3ec" />

The MSNBC web part adds the following to the source of the page (if
this is any help):
                    <script language="javascript"
id="msnbcWeaScriptWPQ3"
src="http://www.msnbc.com/m/chnk/r/sp_weather.js";
onreadystatechange="if (window.event.srcElement.readyState ==
'complete' && typeof(InitWeather) == 'function')
InitWeather('WPQ3');"></script>

Any help would be much appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to