Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Hidden Surprises in .NET 3.5 Service Pack 1
travislaborde
follow
1
8-22-2008 7:14 AM
1630 views
tags:
programming
,
asp.net
,
2008
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
Iranian men in scarves - a new protest tactic
New Disturbing Trend: Baby Wigs.
A Merry Christmas and a Happy New year to all my friends
The Most Bizarre Old Photos - Major WTF (PICS)
Door Mats
Colour In Nature: Surprisingly Colourful Jellyfish
Al Gore busted on World Stage
Copenhagen: Look to the Sea?
Makhounik Village - The Legendary Lilliput of Iran
Ancient Amazon civilisation laid bare by felled forest
visit the
Top Clips page
View the Top Clips from
August 22, 2008
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://www.clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/c3b4d1ab-22e9-4de8-abb4-d0f3e865064c/19C98FFD-1BC3-42B9-B5FF-DC01396E757E/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx" href="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx" style="font-size: 11px;">geekswithblogs.net</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx"><DIV class="postTitle"> <A href="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx" title="Title of this entry." id="viewpost_ascx_TitleUrl">Hidden Surprises in .NET 3.5 Service Pack 1</A> </DIV></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx"><PRE>Could not load type 'System.Web.UI.ScriptReferenceBase' from assembly <BR />'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, <BR />PublicKeyToken=31bf3856ad364e35'.</PRE></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx"><DIV> You are stymied. You've never heard of the class; you certainly don't use it in your code. You use <A target="_blank" href="http://msdn.microsoft.com/en-us/library/system.web.ui.scriptreference.aspx">ScriptReference</A>, of course; who doesn't? But what's <A target="_blank" href="http://msdn.microsoft.com/en-us/library/system.web.ui.scriptreferencebase.aspx">ScriptReferenceBase</A>? Going to the documentation for ScriptReferenceBase, you learn that it is the parent class of ScriptReference and <A target="_blank" href="http://msdn.microsoft.com/en-us/library/system.web.ui.compositescriptreference.aspx" id="ctl00_rs1_mainContentContainer_ctl29"><SPAN class="nu"></SPAN>CompositeScriptReference</A>. What? No it isn't! The documentation for ScriptReference clearly indicates that it's parent is <A target="_blank" id="ctl00_rs1_mainContentContainer_ctl108" href="http://msdn.microsoft.com/en-us/library/system.object.aspx">System<SPAN class="cs"></SPAN><SPAN class="vb"></SPAN><SPAN class="cpp"></SPAN><SPAN class="nu">.</SPAN>Object</A>! What's going on here?</DIV></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://geekswithblogs.net/LessonsLearned/archive/2008/08/21/hidden-surprises-in-.net-3.5-service-pack-1.aspx"><DIV> Then you notice the Version Information for ScriptReferenceBase: "Supported in: 3.5 SP1". It's a new class for Service Pack 1. It doesn't exist in .NET 3.5 and the documentation for ScriptReference is clearly stale. </DIV></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/19C98FFD-1BC3-42B9-B5FF-DC01396E757E/blog/" title="blog or email this clip"><img src="http://content8.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK