<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Toducs's Weblog</title>
	<atom:link href="http://toducs.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://toducs.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 05 Dec 2008 03:22:14 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='toducs.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a041c4ab9894901458e27aeb0c39824c?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Toducs's Weblog</title>
		<link>http://toducs.wordpress.com</link>
	</image>
			<item>
		<title>Adding a Script Manager dinamically on a SharePoint web part</title>
		<link>http://toducs.wordpress.com/2008/09/19/scriptmanageronsharepoint/</link>
		<comments>http://toducs.wordpress.com/2008/09/19/scriptmanageronsharepoint/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 20:46:06 +0000</pubDate>
		<dc:creator>toducs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[One of the common problems with the authoriting of SharePoint web parts using ajax (System.Web.Extensions) is the necesity of add a ScriptManager control to the page.
Usually you must add one ScriptManager Control to your page or to the Master Page, but you must be sure of have only one per page. I see many samples [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toducs.wordpress.com&blog=4911829&post=1&subd=toducs&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>One of the common problems with the authoriting of SharePoint web parts using ajax (System.Web.Extensions) is the necesity of add a ScriptManager control to the page.</p>
<p>Usually you must add one ScriptManager Control to your page or to the Master Page, but you must be sure of have only one per page. I see many samples where add the ScriptManager to controls collection of the web part, but in many cases don&#8217;t check if already exist a ScriptManager.</p>
<p>In one of my projects i has the necesity of  create a web part that automaticly detect if already exist a ScriptManager on the page and if not add it.</p>
<p>The first i found is the posibiltiy to use the function <span style="font-size:x-small;color:#2b91af;"><span style="font-size:x-small;color:#2b91af;">ScriptManager</span></span><span style="font-size:x-small;">.GetCurrent to get the the ScriptManager asociated to the page, and use it to add the script manager on the <span style="font-size:x-small;">CreateChildControls if not found a ScriptManager already using the GetCurrent.</span></span></p>
<p><span style="font-size:x-small;"><span style="font-size:x-small;">But very soon i begin to recieve errors.. i go to finish this soon&#8230;</span></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/toducs.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/toducs.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/toducs.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/toducs.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/toducs.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/toducs.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/toducs.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/toducs.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/toducs.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/toducs.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=toducs.wordpress.com&blog=4911829&post=1&subd=toducs&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://toducs.wordpress.com/2008/09/19/scriptmanageronsharepoint/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/30ffc0a991d00cfdd11ab7a72fe3d77a?s=96&#38;d=identicon" medium="image">
			<media:title type="html">toducs</media:title>
		</media:content>
	</item>
	</channel>
</rss>