Silverlight 2 Release Candidate Now Available

This evening we published the first public release candidate of Silverlight 2.

There are still a small handful of bugs fixes that we plan to make before we finally ship.  We are releasing today's build, though, so that developers can start to update their existing Silverlight Beta2 applications so that they'll work the day the final release ships, as well as to enable developers to report any last minute showstopper issues that we haven't found internally (please report any of these on the www.silverlight.net forums).

Important: We are releasing only the Silverlight Developer Runtime edition (as well as the VS and Blend tools to support it) today, and are not releasing the regular end-user edition of Silverlight.  This is because we want to give existing developers a short amount of time to update their applications to work with the final Silverlight 2 APIs before sites are allowed to go live with it.  There are some breaking changes between Beta2 and this RC, and we want to make sure that existing sites can update to the final release quickly once the final release is out.  As such, you can only use the RC for development right now - you can't go live with the new APIs until the final release is shipped (which will be soon though).

You can download today's Silverlight Release Candidate and accompanying VS and Blend support for it here.  Note that Expression Blend support for Silverlight 2 is now provided using Blend 2.0 SP1.  You will need to install Blend 2.0 before applying the SP1 service pack that adds Silverlight 2 support.  If you don't already have Blend 2.0 installed you can download a free trial of it here.

Beta2->RC API Updates

Today's release candidate includes a ton of bug fix and some significant performance optimization work.

Today's release candidate also includes a number of final API tweaks designed to fix differences between Silverlight and the full .NET Framework.  Most of these changes are relatively small (order of parameters, renames of methods/properties, movement of types across namespaces, etc) although there are a number of them.  You can read this blog post and download this document to get a listing of the known API breaking changes made from the Beta2 release. 

We have updated the styles of the controls shipped with Silverlight, and have also modified some of the state groups and control template names they use.  When upgrading from Beta2 you might find it useful to temporarily remove any custom style templates you've defined, and get your application functionality working using the RC first - and then after that works add back in the styles one style definition at a time to catch any rename/behavior change issues with them.

If you find yourself stuck with an question/issue moving from Beta2 to the RC, please report it on the www.silverlight.net forums (Silverlight team members will be on there helping folks).  If after a day or two you aren't getting an answer please send me email (scottgu@microsoft.com) and I can help or connect you with someone who knows the answer.

New Controls

Today's release candidate includes a bunch of feature additions and tweaks across Silverlight 2, as well as in the VS and Blend tools targeting it. In general you'll find a number of nice improvements across the controls, networking, data caching, layout, rendering, media stack, and other components and sub-systems.

Over the next few months we will be releasing a lot of new Silverlight 2 controls (more details on these soon).  Today's release candidate includes three new core controls - ComboBox, ProgressBar, and PasswordBox - that we are adding directly to the core Silverlight runtime download (which is still only 4.6MB in size, and only takes a few seconds to install):

At runtime these controls by default look like:

The ComboBox in Silverlight 2 supports standard DropDownList semantics.  In addition to statically defining items like above, you can also use databinding with it.  For example, we could define a "Person" class like below:

And the add a ComboBox to a page like so:

And then write the below code to databind a collection of Person objects to the ComboBox (by setting its ItemSource property):

At runtime our simple app will then display the data-bound Person names (note that we set the DisplayMemberPath property on the ComboBox above to display the "Name" value from our Person objects):

We could then implement a SelectionChanged event handler like below to run code when a person is selected from the ComboBox:

Notice above how we can retrieve a reference to the selected "Person" object from the databound ComboBox using the ComboBox's "SelectedItem" property. 

We can then call the MessageBox.Show() helper method (new in the RC) to display a modal dialog box that displays some details about our selected person:

 

New Control Skins

The final release of Silverlight 2 will have a much more polished set of default control template skins than those that were in Beta1 and Beta2.  Our goal with the default control templates is to have a look that is professional and attractive, can be used in the majority of applications as-is (without requiring you to author custom style templates), and which is also easily tweakable using Expression Blend.

Today's RC build has skins that are close to the final look we plan to ship (there are a few final tweaks we are doing post RC on the focus color of controls, as well as to tighten up and tweak a few issues in some of the control templates).  Below is the default look for the DataGrid, RadioButton, CheckBoxes, and the DatePicker controls with today's RC build:

Note that the DatePicker control above allows users to type in a date (with a masked edit to ensure it is a valid date), or they can click the calendar icon to the right of the textbox and select the date using a popup Calendar control:

One of the most powerful features of Silverlight and WPF, of course, is the ability for designers and developers to completely customize the look and feel of any control.  This goes beyond simple styling of colors and fonts - you can literally completely change the visual UI of a control, as well as customize its behavior (for example: add animation) without writing any code.

Within Expression Blend, simply right-click on any Silverlight control and choose the "Edit Control Parts" sub-menu to open and edit its control template:

 

When in control template editing mode, you can manipulate any sub-element of a control (for example: a checkbox's inner content), as well as customize each "state" its in (notice the states pane circled in red below).  This allows designers to customize what the control looks like in individual states (for example: checked, unchecked, mouseover, etc).  Silverlight will then automatically handle animating the control from state to state depending on the user action:

You can learn more about how Silverlight's Visual State Model works from my previous blog post here

Previous releases of Silverlight often rendered graphics on sub-pixel locations - which could cause lines and shapes to sometimes appear "fuzzy".  The RC of Silverlight has a new features called "layout rounding" that causes the layout system to round the final measure of a control to an integer ("pixel snapping"), which results in crisper lines and fewer rendering artifacts.  This feature is now on by default, and helps make applications look nicer.

Summary

The final release of Silverlight is not that far off now.  It has been a pretty amazing project that has come a long way in a pretty short amount of time.

If you have existing Beta2 applications, please start getting them ready for the final release - as once we release Silverlight 2, users that have existing beta releases installed will automatically be upgraded to use the final version.  Testing your application out with the release candidate will ensure that you can easily update your applications and have them ready within hours of the final release.

Let us know if you find issues with today's release candidate, and please make sure to post them on the forums on http://www.silverlight.net.

Hope this helps,

Scott

Published Thursday, September 25, 2008 9:54 PM by ScottGu

Comments

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:07 AM by Joseph G.

Well done!

So, we should expect the final release of silverlight 2 in a month or so....

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:17 AM by Jon Galloway

Congrats to you and the team! Looking forward to the full release.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:26 AM by Miguel Carrasco

Great work Scott!  Tell your team congratulations on another excellent milestone achieved!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:27 AM by Jonas Follesø

Congratulations on an important milestone! I'm thrilled that the final release isn't far away.

Like the new changes to the default skins - this is the last icing on the cake and I'm glad you're putting effort into that as well.

Oh, and congratulations with the baby!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:31 AM by chanva

That's great, thanks for your efforts. How about IronRuby?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:32 AM by kamii47

Congratulation Team.

One Question is is it Feature Complete ?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:39 AM by HeartattacK

Looks good. A few more controls would have been helpful, notably a wrap panel, a rich text editor etc. Downloading the stuff now, so maybe the wrap panel's in there. One thing I hate though is the fact that the runtime is dev only. I do hope the final bits will come soon, as a dev only runtime severely limits us to what we can achieve.

Btw...Scott, I (and I assume a lot of others) are eagerly waiting for your AJAX post on MVC. It appears to be the one thing nobody likes talking about. Yes, I can use jquery and yes, I can use the script only version of Asp.net AJAX...but seriously - if all we do is call web services, we might be coding plain html and doing everything client side. And emulating a web service using MVC doesn't count as it comes around to doing a lot in javascript. I may be completely off, but please oh please show us the recommended "official" way of doing AJAX using the helpers or whatever. We all know how to do it in jquery, what does MVC preview 4/5 put on the table that makes it simpler/easier/less confusing/less annoying/less ugly/less...you get the picture. Scouring the net I could only find one kinda confusing post by Scott Hanselman for MVC preview 4. Everyone else says "Here's how to do AJAX with jquery and MVC" or "Here's how to do AJAX with the Asp.net js scripts/Toolkit js scripts" or my favourite: "Here's how to do AJAX but this post will self destruct in 5...4..3..2..1..." (coz prev 4 came out almost simultaneously.

Seriously, we need your guidance, your great Guness. Show us some light :D

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:43 AM by ScottGu

Hi Chanva,

>>>>>> That's great, thanks for your efforts. How about IronRuby?

Yep - SL2 will support both IronRuby and IronPython.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:44 AM by ScottGu

Hi kamii47,

>>>>> One Question is is it Feature Complete ?

We are feature-complete for the core SL2 download.  You'll see additional controls and features ship over the next few months that run on top of SL2 though.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:47 AM by ScottGu

Hi HeartAttack,

>>>>>>>> Looks good. A few more controls would have been helpful, notably a wrap panel, a rich text editor etc. Downloading the stuff now, so maybe the wrap panel's in there. One thing I hate though is the fact that the runtime is dev only. I do hope the final bits will come soon, as a dev only runtime severely limits us to what we can achieve.

We'll have a WrapPanel control available shortly. Stay tuned for more details.... ;-)

>>>>>>>> Btw...Scott, I (and I assume a lot of others) are eagerly waiting for your AJAX post on MVC. It appears to be the one thing nobody likes talking about. Yes, I can use jquery and yes, I can use the script only version of Asp.net AJAX...but seriously - if all we do is call web services, we might be coding plain html and doing everything client side. And emulating a web service using MVC doesn't count as it comes around to doing a lot in javascript. I may be completely off, but please oh please show us the recommended "official" way of doing AJAX using the helpers or whatever. We all know how to do it in jquery, what does MVC preview 4/5 put on the table that makes it simpler/easier/less confusing/less annoying/less ugly/less...you get the picture. Scouring the net I could only find one kinda confusing post by Scott Hanselman for MVC preview 4. Everyone else says "Here's how to do AJAX with jquery and MVC" or "Here's how to do AJAX with the Asp.net js scripts/Toolkit js scripts" or my favourite: "Here's how to do AJAX but this post will self destruct in 5...4..3..2..1..." (coz prev 4 came out almost simultaneously.   Seriously, we need your guidance, your great Guness. Show us some light :D

I'll be doing some AJAX posts shortly.  I plan to have one out on Sunday, and then hopefully finish my infamous MVC AJAX tutorial in the coming week.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 2:49 AM by Martin

From the birthdate, it seems you should be congratulated on another recent release, David Guthrie :)

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 2:55 AM by Parley

Firstly, hats off to Scottie and his team. Look way forward to the final release and whatever goodies coming out of PDC.

One issue that has been on my mind for a while: The default GUI style used by SilverLight and possibly some other MSFT products just seems left a little to be desired. Maybe it's the font, button shape, background color or a combination of this. It feels slightly raw and could be refined. Sometimes a little tweak on the GUI doesn't require much effort but produces a leap in user experience.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 3:24 AM by RadekCzadek

Congratulation :)

Does SL2 RC change something in supportet browsers list? Or does final version of SL2 will change this list?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 3:32 AM by Einar

Do we get international keyboard support in text inputs in this release?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 3:37 AM by Steve

Looking forward to supporting Silverlight in our shop.  We already have our first project mapped-out.  One question, when or will VS2008 support WYSIWYG designer?  I understand that it wouldn't be as extensive as Blend but some support is sorely needed.  Thanks in advance and please commend the Silverlight team.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:23 AM by satish1.v

congrats for both the release(david and sl2)

u guys are doing a gr8 job

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:28 AM by David

Does Blend 2.0 SP1 replace Blend 2.5 then?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:31 AM by Nathan

Anyone have a problem installing silverlight tools? I have having this error:

Action: Performing Action on Exe at c:\e02563cc1b79dc9099\silverlight_UninstallSpRtwPatches.exe...

[9/26/2008, 1:25:16] (IronSpigot::ExeInstallerBase::Launch) Launching CreateProcess with command line = silverlight_UninstallSpRtwPatches.exe /q /uninstall

[9/26/2008, 1:25:20] (IronSpigot::ExeInstallerBase::PerformAction) c:\e02563cc1b79dc9099\silverlight_UninstallSpRtwPatches.exe - Exe installer does not provide a log file name

[9/26/2008, 1:25:20] (IronSpigot::ExeInstallerBase::PerformAction) Exe (c:\e02563cc1b79dc9099\silverlight_UninstallSpRtwPatches.exe) failed with 0x80070671 - Update removal was disallowed by policy. .

[9/26/2008, 1:25:20] (IronSpigot::ExeInstallerBase::PerformAction) PerformOperation on exe returned exit code 1649 (translates to HRESULT = 0x80070671)

[9/26/2008, 1:25:20] Action complete

[9/26/2008, 1:25:20] (IronSpigot::LogUtils::LogFinalResult) Final Result: Installation failed with error code: (0x80070671), Update removal was disallowed by policy.

[9/26/2008, 1:25:20] Action complete

I can't find ANY info on this problem. I am running Vista Ultimate x64. VS 2008 Pro SP1. Any help appreciated.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:54 AM by Frank S

Scott,

   Can you give any update on when Silverlight 1 or 2 will be released on mobile?

Frank

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:56 AM by Chris

Awesome! Gonna have to wait 'til monday to try it :(

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 5:04 AM by nano

Great news, congratulation Team.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 5:06 AM by Arjen Bloemsma

Good news! I was waiting for this one.

And finally, you're posting on your blog again ;)

Congratulations with David!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 5:06 AM by Emanuele

Very good. It's fantastic.

Emanuele

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 6:02 AM by TravisPUK

I have downloaded and installed the RC, but it appears to have killed my WPF projects. In particular I now get an Intentionally Left Blank (ILB) showing on my XAML designer for 'Windows' that have a UserControl on them. They only way for me to get the window showing again is to remove the clr-namespace declaration from the root and thus remove the usercontrol.

Any ideas? I have tried uninstalling the RC but the ILB still shows. It did not show prior to loading the RC for SilverLight. Just to be clear this project is a WPF application, nothing to do with SilverLight.

Regards

Travis

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 6:14 AM by Laurent

Fantastic work. Having had the chance to follow the progresses from the start, I can say that the team did an amazing work. Congratulate them all for me!!

Laurent

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 6:17 AM by Vaclav Elias

Well done and keep going with with the final release !! :-)

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 7:09 AM by Ed

Hello Scott,

is it possible to print directly to the printer without a dialog?  Perhaps with lowered .net security zones (trusted etc)?

Sincerely

Ed

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 7:29 AM by eager

wonderful project for sliverlight2,if you bring enough controls,many developers will enter this team,using it and like it.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 7:32 AM by Ian

Hi Scott,

Great to finally have a release candidate although I read a comment on Tim Heuers blog that you are 'still committing to shipping Silverlight this year' which is totally against the whole 'Late Summer',  'really soon' and 'which will be soon though' comments I keep reading on SL team blogs.  It seems almost an unsubtle way of saying it could be December.  The team I work with are currently developing an SL 2 Beta 2 app due to be delivered to our client in early to mid November.  However there are bugs in Beta 2 that are a real issue for us so we are kind of desperate to go to the RCO - we are not asking for a release date but would you be able to say that we can safely go to the RCO version and by the time we deliver our client will have no problem in using the app?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 8:24 AM by Ueli

Scott,

It would be great to have a list of the planned controls. It doesn't make much sense to start developping a control for a project right now just to find out a month later that you guys did the same work (and in a much better way, probably).

Any chance to get a roadmap?

U'

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 8:57 AM by Brian

Congrats to the Silverlight team for all their great work.  This is very promising technology and my company is seriously considering moving away from asp.net ajax apps to Silverlight.  However, silverlight still appears to be lacking in one area for business apps, and that's reporting.  There just doesn't seem to be any guidence on how to best implement reports in Silverlight.  Scott, can you shed some light on this topic?  Thanks!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:20 AM by James Hancock

Fonts look slightly better, but still hideous. When are we going to get text that doesn't look worse than my C64? I hope this is fixed before final release, because this is too imbarassing right now to actually release a business application to the general public with the fonts so screwed up and ugly.

Also a question: On the combo box, are we getting true incremental matching where the user can type in the combo and it will limit to the list and show the text as they type it? Because the Win32/.net one is useless as it is. No one knows how to use it without having to use the mouse. (same goes for the HTML one!)

Thanks!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:23 AM by Kelps Leite de Sousa

This is REALLY good news. Downloading now. Just posted on my blog.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:26 AM by Vishal

You guys did a great work to make this project near to RC.

My Qs is in your beta 2 release thre was some promise on Treeview control and few more composite control out of the box.

Does it went away?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:31 AM by Amit

Scott,

You had mentioned that Silverlight will be made available on non-Microsoft platform devices i.e. anything with an SDK, is that still oncourse, are we to expect silverlight on lets say PS3 or iPhone?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:44 AM by ScottGu

Hi Parley,

>>>>>> One issue that has been on my mind for a while: The default GUI style used by SilverLight and possibly some other MSFT products just seems left a little to be desired. Maybe it's the font, button shape, background color or a combination of this. It feels slightly raw and could be refined. Sometimes a little tweak on the GUI doesn't require much effort but produces a leap in user experience.

We've been tweaking the default control skins for that reason - and you'll see a few more final tweaks soon.  The challange with the default skins, though, is coming up with a design that looks great, but is also fits into most customer sites and applications (and doesn't conflict with existing colors and styles on a site).  It is a tricky problem. :-)

We will be publishing a style gallery in the future with additional control themes that people can download which will provide alternative looks (many of which are a little stylish and edgier).

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:45 AM by Andy525

Does it work with blend 2.5??????

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:45 AM by ScottGu

Hi RadekCzadek,

>>>>>> Does SL2 RC change something in supportet browsers list? Or does final version of SL2 will change this list?

Our list of officially supported browsers is the same, although we now have broader support of other browsers that also work.  The latest developer build of Google Chrome, for example, now supports SL2 just fine, as does Safari on Windows and Opera I believe.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:46 AM by ScottGu

Hi Einar,

>>>>>>>> Do we get international keyboard support in text inputs in this release?

Yes - this was a fix in the RC.  Let us know if you run into any problems with it.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:46 AM by Jacques

Looking forward to the final realese!

Can you tell us if commanding will be implemented? I'm assuming it won't since it's not in the RC. If that is the case, it's a real shame and I'm looking forward to when it will be implemented.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:47 AM by ScottGu

Hi Steve,

>>>>>>> Looking forward to supporting Silverlight in our shop.  We already have our first project mapped-out.  One question, when or will VS2008 support WYSIWYG designer?  I understand that it wouldn't be as extensive as Blend but some support is sorely needed.  Thanks in advance and please commend the Silverlight team.

Unfortunately VS 2008 this year won't support a WYSIWYG editor (it will instead support source view w/ intellisense and a WYSIWYG preview mode - which won't support control placement/movement).  We are working on WYSIWYG editing support for Silverlight in VS, though, and will support that in the future.  Until then Blend is your best bet.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:52 AM by ScottGu

Hi David,

>>>>>> Does Blend 2.0 SP1 replace Blend 2.5 then?

Yep - rather than give it a new version string (and force existing users to upgrade to a new version), we decided to release the functionality using a service pack for the existing shipping product.  All the functionality that was in previous Blend 2.5 builds is now included in SP1.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:53 AM by ScottGu

Hi Nathan,

>>>>>>> Anyone have a problem installing silverlight tools? I have having this error:

>>>>>>> Action: Performing Action on Exe at c:\e02563cc1b79dc9099\silverlight_UninstallSpRtwPatches.exe...

Have you uninstaled the VS tools for Silverlight, Silverlight SDK and Silverlight runtime from your machine prior to running setup?  It could be that you have one of these left which is causing the VS setup problem.

If you are still having problems send me email (scottgu@microsoft.com) and we'll get someone to investigate.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:55 AM by ScottGu

Hi Frank,

>>>>>>>> Can you give any update on when Silverlight 1 or 2 will be released on mobile?

We have builds today that a private group of customers are using.  I'm not sure of the final public release date though yet.  If you are intrested in potentially joining the early adopter program send me email and I will put you in touch with the mobile team.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:57 AM by ScottGu

Hi TravisPUK,

>>>>>>> I have downloaded and installed the RC, but it appears to have killed my WPF projects. In particular I now get an Intentionally Left Blank (ILB) showing on my XAML designer for 'Windows' that have a UserControl on them. They only way for me to get the window showing again is to remove the clr-namespace declaration from the root and thus remove the usercontrol.  Any ideas? I have tried uninstalling the RC but the ILB still shows. It did not show prior to loading the RC for SilverLight. Just to be clear this project is a WPF application, nothing to do with SilverLight.

Hmm - that sounds odd.  Can you send me an email about this and I'll loop you in with some folks to investigate.  I suspect that it is unrelated to Silverlight - but might have been triggered by some setup problem.  Send me email (scottgu@microsoft.com) and we'll make sure to get it fixed for you.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:58 AM by ScottGu

Hi Ed,

>>>>>>> is it possible to print directly to the printer without a dialog?  Perhaps with lowered .net security zones (trusted etc)?

We unfortunately don't support this today.  You can use the standard browser printing stack (you can initate a print job just like you do with AJAX).  You can also pop open a new browser window, add custom content to it, and then have it print.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:08 AM by ScottGu

Hi Jordan,

>>>>>>>> Getting build errors for generic.xaml:

>>>>>>>> The property '_UnknownContent' does not exist on the type 'ResourceDictionary' in the XML namespace 'schemas.microsoft.com/.../presentation'.

>>>>>>>> The type 'List`1' is inside a ResourceDictionary and does not have a key.

Generic.xaml has changed (some control template names were renamed/added/removed) - which I suspect is the problem you have here.  Have you tried posting on the forums on www.silverlight.net?  That is probably the best place to get help on this.  If you can't find an answer send me an email and I can have someone who knows more about the changes help you.

One trick I recommend is to comment out your custom Generic.xaml to begin with, and use the default skins to get the app functionality working (and fix any issues there first), and then add back the Generic.xaml skins one at a time to better identify the issue).  Kind of a pain - but probably the easiest way to identify markup changes.  Note this only happens with breaking changes like going from B2->RC.  From now on out you shouldn't have to-do this again.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:09 AM by ScottGu

Hi Ian,

>>>>>>>> Great to finally have a release candidate although I read a comment on Tim Heuers blog that you are 'still committing to shipping Silverlight this year' which is totally against the whole 'Late Summer',  'really soon' and 'which will be soon though' comments I keep reading on SL team blogs.  It seems almost an unsubtle way of saying it could be December.  The team I work with are currently developing an SL 2 Beta 2 app due to be delivered to our client in early to mid November.  However there are bugs in Beta 2 that are a real issue for us so we are kind of desperate to go to the RCO - we are not asking for a release date but would you be able to say that we can safely go to the RCO version and by the time we deliver our client will have no problem in using the app?

You shouldn't have any problems shipping your application in mid November.  Do let us know immediately, though, if you find bugs with the RC that are impacting your application so that we can investigate and fix them.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:10 AM by kigasida

Pingback from Silverlight 2 RC

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:10 AM by ScottGu

Hi Ueli,

>>>>>>>> It would be great to have a list of the planned controls. It doesn't make much sense to start developping a control for a project right now just to find out a month later that you guys did the same work (and in a much better way, probably).  Any chance to get a roadmap?

Yep - we will be blogging this later this year once we have more details mapped out.  Stay tuned for more information on this.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:10 AM by John

Hi Scott,

Has printing support been added to Silverlight (just looking at your response to Ed)?

And have any improvements been made to the way text looks in Silverlight (or could this be an incremental update that is released after release 2)?

Thanks,

John

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:13 AM by ScottGu

Hi Shloma,

>>>>>>> Any ideas if/when Google Chrome will be fully supported? Or did I miss anything?

The Google Chrome team have made updates to Chrome to have Silverlight work fine in it.  These are in the developer updates branch (so not in the main download yet).  Here is a blog post that discusses how to get the Chrome build that works: jonas.follesoe.no/DeveloperBuildOfChrome1251FixesSilverlight2Bugs.aspx

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:14 AM by ScottGu

Hi Brian,

>>>>>>>> Congrats to the Silverlight team for all their great work.  This is very promising technology and my company is seriously considering moving away from asp.net ajax apps to Silverlight.  However, silverlight still appears to be lacking in one area for business apps, and that's reporting.  There just doesn't seem to be any guidence on how to best implement reports in Silverlight.  Scott, can you shed some light on this topic?  Thanks!

Stay tuned - we'll have more details on reporting scenarios in the future.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:15 AM by Dave D.

It is a little unclear as to what we need to do to install the expression blend 2 SP1.  I currently have Microsoft Expression Blend 2.5 June 2008 Preview installed.  If I understand correctly, I should remove 2.5 first, then install 2.0 trial (or purchase it), and then install 2.0 SP1.  Is that correct?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:18 AM by ScottGu

Hi James,

>>>>>>> Fonts look slightly better, but still hideous.

Font rendering quality is one of the improvements in the RC.  There are still big improvements we plan to make in the future though (the tricky part about fonts is you need to make the spacing the same on all platforms - so our text rendering engine can't use some of the higher-level Windows and Mac features, which is why we are building a new text engine that will have great rendering and be portable).

>>>>>>> Also a question: On the combo box, are we getting true incremental matching where the user can type in the combo and it will limit to the list and show the text as they type it? Because the Win32/.net one is useless as it is. No one knows how to use it without having to use the mouse. (same goes for the HTML one!)

The combobox for the initial SL2 release only has dropdownlist semantics (it doesn't support typing to filter).  We'll be adding that support in the future though (post the initial SL2 release).  We named the control ComboBox so that it would be API compatible with the WPF control (which does do filtering), and so we can add this support easily in the future.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:18 AM by ScottGu

Hi Vishal,

>>>>>>>> My Qs is in your beta 2 release thre was some promise on Treeview control and few more composite control out of the box.

Yep - we will have a TreeView control available shortly.  Many more composite controls are coming shortly.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:19 AM by ScottGu

Hi Amit,

>>>>>>>>> You had mentioned that Silverlight will be made available on non-Microsoft platform devices i.e. anything with an SDK, is that still oncourse, are we to expect silverlight on lets say PS3 or iPhone?

We do have a porting kit, although haven't published that broadly (instead we've been working with device manufacturers directly on this).  It is an interesting idea to try and publish it for anyone to use.  

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:21 AM by ScottGu

Hi Andy525,

>>>>>>> Does it work with blend 2.5??????

You'll want to uninstall Blend 2.5, and then install Blend 2.0 (which is shipping already - you can download a trial edition of it here: www.microsoft.com/.../details.aspx if you don't have a copy).  You'll then want to install the Blend SP1 update which will update Blend 2.0 to support Silverlight 2.0.  This has all the features that were in Blend 2.5.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:22 AM by Mike

Welcome back, Scott! Thanks for keeping us informed!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:24 AM by ScottGu

Hi Jacques,

>>>>>>> Can you tell us if commanding will be implemented? I'm assuming it won't since it's not in the RC. If that is the case, it's a real shame and I'm looking forward to when it will be implemented.

WPF commanding won't be in the SL2 release I'm afraid.  It is something we are looking at adding in the future though.

Nikhil has a cool post here: www.nikhilk.net/Silverlight-ViewModel-Pattern.aspx that you might want to check out on how you can use a MVC like pattern with Silverlight 2 today.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:25 AM by ScottGu

Hi Master2345,

>>>>>>> Good News but when we migrate our application VS2008 don't show any notification for the silverlight version changed(BreakingChanges Document, "Migrating Older Code to the Newer Release" . 2). Also when the application start in IE, it generate the InizializeError #2103 and tha page go in error. How we can resolve this problem?

It sounds like you might have some incompatibilities in your XAML markup or App.xaml file.  Can you try posting more details on these on the forums on www.silverlight.net?  Someone there should be able to help.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:26 AM by Chris Cavanagh

Scott - Are there any improvements to DataGrid and ItemsControl performance for this release?  Does ItemsControl try to virtualize / recycle controls it creates? (I'm assuming DataGrid does, but have been seeing pretty poor scrolling performance with that too).  Any performance tips you have on these?  Thanks!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:31 AM by ScottGu

Hi John,

>>>>>>> Has printing support been added to Silverlight (just looking at your response to Ed)?

No native printing support has been added yet (although that is on our roadmap). Probably the best bet today is to use the System.Windows.Browser APIs in Silverlight to programmatically construct HTML and use the browser's printer APIs to print.

>>>>>>>> And have any improvements been made to the way text looks in Silverlight (or could this be an incremental update that is released after release 2)?

Yes - the RC has some text rendering algorithm changes that improve text rendering quality.  This is an area we are investing a lot more in, though, and you'll continue to see updates here in the future.

Thanks,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:32 AM by ScottGu

Hi Dave,

>>>>>>>> It is a little unclear as to what we need to do to install the expression blend 2 SP1.  I currently have Microsoft Expression Blend 2.5 June 2008 Preview installed.  If I understand correctly, I should remove 2.5 first, then install 2.0 trial (or purchase it), and then install 2.0 SP1.  Is that correct?

You'll want to uninstall Blend 2.5, and then install Blend 2.0 (which is shipping already - you can download a trial edition of it here: www.microsoft.com/.../details.aspx if you don't have a copy).  You'll then want to install the Blend SP1 update which will update Blend 2.0 to support Silverlight 2.0.  This has all the features that were in Blend 2.5.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:34 AM by ScottGu

Hi Chris,

>>>>>>>> Scott - Are there any improvements to DataGrid and ItemsControl performance for this release?  Does ItemsControl try to virtualize / recycle controls it creates? (I'm assuming DataGrid does, but have been seeing pretty poor scrolling performance with that too).  Any performance tips you have on these?  Thanks!

There have been a number of performance enhancements to the DataGrid with this RC.  We also fixed a bunch of bugs around leaks with ceretain scenarios that might have caused the performance problems you've seen.

DataGrid does indeed implement item virtualization/recycling.  We'll post the source code for how this is done.  ItemsControl in the SL2 release doesn't natively implement virtualization/recycling yet.  This is something that will be in the next release though.  Until then you need to implement this logic yourself.

Hope this helps,

Scott

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:46 AM by John

Hi Scott,

Sorry one more question. This time with regards to mobile phones and Silverlight. There has been an increase in interest when it comes to mobile apps (partly because of the success of the iPhone and the fact that it is getting cheaper to browse the web from your phone...in the UK at least). There was supposed to be a CTP of Silverlight mobile shortly after MIX but it never appeared and everything went quite.....any chance that this silence resulted in a Silverlight 2 mobile edition :D I know it is a stretch but I think it would really help push Silverlight on the mobile front.

When it is released will it be supported on the iPhone?

Thanks again,

John

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 10:53 AM by Noral

This is great news and Silverlight is an excellent product.

The only issue I have is when will VS get design-time layout for Silverlight applications?  I do not like having to switch between VS and Expression Blend 2 just to do something as basic as design layout.

TIA

Noral

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 11:05 AM by Mike Carillon

ListBox still doesn't support multi-select items. I don't understand why. Now we have a ComboBox which is great, but why no mutli-select ListBox?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 12:03 PM by Borek

Glad to hear that better font rendering support is coming in a future release! It really made me sad when I read about text rendering "improvements" after seeing the screenshots - just take the first one showing Silverlight app inside IE and compare the text on the tab (SilverlightApplication3) which is clear and crisp while the Silverlight text is blurry and awkward.

BTW, I can understand why the font rendering is so hard in a portable technology like Silverlight but I really don't get why text is still so awful in WPF which is Windows technology and could use platform-specific features. I am really looking forward to a day when this problem will be gone and WPF/SL apps will finally look pretty.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:02 PM by Sayo

Congratulations!

Too few new controls.I wish Microsoft can release more controls quickly.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:11 PM by Soum

I installed SL2 RC0 developer runtime and the silverlight tools 9.0.30730.33 on VSTS 2008 SP1/Vista SP1 but when I am creating any Silverlight application, I cannot drag and drop any controls from the toolbox onto the design surface. Even if I drop it into the XAML editor, I cannot even select the controls from the designer. And the properties toolbox shows "Property editing is not available". Any idea what might be wrong?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:11 PM by smehaffie

Congrats to you and your team.  I look forward to working with the final release.  This is a great product and the future is bright for this product.  

OT: Can you please post a tutorial or series of tutorials on how to create custom templated controls for Silverlight (not user controls).  I have an idea for a control that I can distribute, but cannot find any really good information about how to do this properly.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:24 PM by Don Baechtel

DO NOT INSTALL Silverlight Tools RC) with Visual Studio Team System 2008. Get lots of package load failures. Software will not run. Default projects will not build.

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:31 PM by senfo

Joseph G., who are you and how do you have inside information on the release date?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:37 PM by joec0814

do i have to have blend or can i do it all is VS? (sry noob question)

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 1:39 PM by Vikram Pendse

Hello Scott,

Heartiest Congrats for SL 2 RC..well few things would like to know..

Some discussions going on various forums like to have interaction with devices from SL like access web-camera or microphone since media capability is there in SL,any thing on this since it SL is secure.

what abt SL support of Windows mobile devices..any plan for separate runtime for WinMo.

I am actually looking for some indepth technical info about the whole life cycle of SL,I want to know more what all things happen right from request to SL app and till response.working of XAP etc.Rendering of SL etc.more on architectural level

Thanks

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 2:45 PM by Sorcerdon

Hello Scott,

Thanks for the update. I am looking forward to working with the newest version.

In this version did anymore of the FULL ASP.NET framework make it over to the smaller Silverlight .NET Framework?

Thanks,

Sorcerdon

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 3:37 PM by Bogdan Nedelcu

Good news, but I wonder if it is also a news about your kid, or this is just sample data ?

If true then congratulations.

Bogdan

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:35 PM by ckuehl

Hello Scott,

can you give us any ETA on when there will be RCs for other languages? Because i am not able to install the EN version of VWD (SP1) on my machine. (I always get a package load failure when i try to open ASPX-files)

The german VWD (SP1) is running fine but it won't allow me to install the new Silverlight Tools.

Best regards,

Christian

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 4:49 PM by Andy

Just uninstalled B2 and installed RC and now I can not create my silverlight applications via vs 2008.  Everything just locked up and no err msgs to report to about the problem for you to look at.

I am using vista ultimate edition with vs 2008 sp1 installed.

Any advice what to do?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 6:00 PM by Wild Coder

Oh please let the install package be clean!!  None of the recent installs from Microsoft have installed the first time.  They aways require you to dig into the log to find out that you have to log into a webpage before you install or something stupid like that... or have Microsoft Office installed to run Microsoft Expressions.  Evil!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 6:38 PM by Todd Morrison

Is it just me or do Scott's samples look like family is the only thing on his mind?

(congrats new dad!)

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 7:57 PM by Todd

Do you plan to add support for older non-Intel Mac's running OSX?

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 8:48 PM by D. Figuerres

Yeah Baby Time to Light it  UP!!!!!!!!!!!

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 9:45 PM by egoZd

Does it fix this  bug with regard to chinese IME ? When we type one word it will appear as twice , I think that is most important for us!

Best regards

egoZd

www.douziwang.cn

# re: Silverlight 2 Release Candidate Now Available

Friday, September 26, 2008 11:57 PM by Roger Martin

Now I understand the lack of posts this summer. I had a son join us in February, and I can barely find time to read my email. Probably a good thing you didn't post more - I've been busy cleaning up spit-up. Congrats!

# re: Silverlight 2 Release Candidate Now Available

Saturday, September 27, 2008 3:14 AM by Fallon Massey

Scott, is there, or will there be a XamlWriter for Silverlight?

# re: Silverlight 2 Release Candidate Now Available

Saturday, September 27, 2008 5:42 AM by Andrei Rinea

@Scott Guthrie : Will the final version of Silverlight 2.0 be pushed through Windows Automatic Updates? It would be nice and it would make the installation rate go through the roof :)

# re: Silverlight 2 Release Candidate Now Available

Saturday, September 27, 2008 10:17 AM by José

Hi Scott

I have been using Silverlight since first alpha to develop a RPC like system, that is now working with Siverligh-2 beta2, any ideas if there would be SSL support in Socket api some time soom, it would be very interesting feature for my application and also for others i thought.

# re: Silverlight 2 Release Candidate Now Available

Saturday, September 27, 2008 11:42 AM by Guillaume Gros

I guess it is still possible that we will see the release during PDC in October or maybe it will rather be a RC1.

# re: Silverlight 2 Release Candidate Now Available

Saturday, September 27, 2008 3:48 PM by Jacek Ciereszko

I hope that Silverlight 2.0 RTW release will be announced on Tech-Ed 2008 in Barcelone and I will see this :)

# re: Silverlight 2 Release Candidate Now Available

Sunday, September 28, 2008 5:52 AM by Dan

Dear Scott:

I want to get know the final release of Silverligh whether support Chrome Browser. Because my silverlight application must be replaced with static picture and some Silverlight feature can't be implemented in Chrome now. Can the final release of Silverlight resolve this problem?

# re: Silverlight 2 Release Candidate Now Available

Sunday, September 28, 2008 7:03 AM by Dino

Hi Scott:

I want to know if the rich text box coming soon?

# re: Silverlight 2 Release Candidate Now Available

Sunday, September 28, 2008 10:42 PM by scott bradley

One of the features of AIR and Google Gears is that you can use web applications in offline mode. If this something that is being considered for the future?

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 1:06 AM by Miguel

Scott,

We need a public runtime or at least a way to install it for our customers. We need something to show after each sprint, we will have daily builds and daily deployment and we need a non-developer to be able to look at our progress.

Is this possible?

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 2:59 AM by priyanr

Hi thank u for the post.. alpha-beta-rc still waiting for release..

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 7:23 AM by Costas

Would it be possible to import 3rd party libraries (like SocketWrench for example) into Silverlight?

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 10:23 AM by Joel

Scott - I saw your comments to Ian about a project deadline in November, but what would you recommend if we are trying to deploy a new Silverlight project in mid to late October?  Should we go ahead and refactor existing code for SL2 RC0 or keep developing in beta 2 so that we can release, then scramble to update our project?  Not knowing when SL2 will be shipped and only having a dev release is making us hesitant to migrate due to our tight deadline.  What would you recommend?

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 10:58 AM by Jeff

At what point did Blend start to not be available via MSDN anymore? That's going to annoy a lot of people.

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 12:24 PM by Daze55

Hello,

Do you know when the msdn will be updated? Especially to get the new skins code.

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 12:39 PM by Chica

Silverlight 2 RC(リリース候補版)が公開

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 8:45 PM by Ion Sing

Hi Scott,

would it possible to have the code snippets as text and not images. That way i can copy and paste in to my project.

# re: Silverlight 2 Release Candidate Now Available

Monday, September 29, 2008 10:07 PM by laguy88

Hi Scott,

Thanks for all your hard work !

Hope I don't sound too ignorant but with all the versions of Silverlight 1.0,

2.0 beta 1 , 2 , RC0.

Is it true, that only one version can exist on a client ? ( no side by side )

If so, why not ? FYI, I installed RC0 and now I can't run any Beta 2 samples without uninstalling RC0.

Also, not sure how to uninstall RC0.

DataGrid - Breaking Change

I didn't see this one posted in the breaking changes document.

These eventhandlers are gone !

CommittingCellEdit="ESDataGrid_CommittingCellEdit"

CommittingRowEdit="ESDataGrid_CommittingRowEdit"

I now see:

CurrentCellChanged="ESDataGrid_CurrentCellChanged"

BeginningEdit="ESDataGrid_BeginningEdit" SelectionChanged="ESDataGrid_SelectionChanged"

But these event handlers no longer support the eventargs: DataGridEndingEditEventArgs

      private void ESDataGrid_CommittingCellEdit

           (object sender,

           System.Windows.Controls.DataGridEndingEditEventArgs e)

       {

           Products p = (Products)e.Row.DataContext;

           string f = e.Column.Header.ToString();

           string v = ((TextBox)e.EditingElement).Text;

           System.Reflection.PropertyInfo pi = p.GetType().GetProperty(f);

           if (pi.PropertyType == typeof(string))

           {

               pi.SetValue(p, v, null);

           }

           else if (pi.PropertyType == typeof(int) ||

               pi.PropertyType == typeof(int?))

           {

               pi.SetValue(p, int.Parse(v), null);

           }

           else e.Cancel = true;

           if (!e.Cancel)

           {

               p.esRowState = "Modified";

           }

       }

       private void ESDataGrid_CommittingRowEdit

           (object sender, DataGridEndingEditEventArgs e)

       {

           Products p = (Products)e.Row.DataContext;

           if (p.esRowState == "Modified")

           {

               ESNorthwind.UpdateProductAsync(p);

           }

       }

So, I can't get these eventhandlers working anymore to detect cell changes and fire updates.

Peace, LA Guy

# re: Silverlight 2 Release Candidate Now Available

Tuesday, September 30, 2008 10:08 AM by Bob Leonard

Scott,

What are the prospects/plans regarding Reporting support for silverlight ?  Can we anticipate a ReportViewer similar to that available for WinForms ?  

# re: Silverlight 2 Release Candidate Now Available

Tuesday, September 30, 2008 12:39 PM by Aaron Lewis @ GuildPortal

Hi Scott --

I develop web apps that are more for a broad user base, rather than intranet.  The users require a high degree of customizability in the interface presented to themselves and their communities (GuildPortal is a web host / CMS hybrid built on ASP.Net).  Currently, developing styling controls for site customization is inappropriately consumptive of development time.  .Net comes with -- I believe -- three different grids, but no color picker or Wysiwyg Editor.

My question to you is this: will it be possible to take settings that have been entered/selected by an end-user, and then apply them to SilverLight controls at run-time?  If so, first, that's great!  Then, are there plans for controls that will be more supportive of standard CMS-like functionality?  A color picker, wysiwyg editor, and -- if I may be so bold -- perhaps a web/SilverLight style builder, like the one we have in Visual Studio?

Thanks!

# re: Silverlight 2 Release Candidate Now Available

Tuesday, September 30, 2008 1:32 PM by Vaibhav

It seems that TransformToVisual method on a FrameworkElement does not return appropriate results. I used this to get the coordinates of a UIElement with respect to another element. It is useful for positioning popups. It worked well in Beta 2. Now it appears to add a huge offset in both x and y direction.

GeneralTransform gt = ContentSite.TransformToVisual(Application.Current.RootVisual as FrameworkElement);

Point p = gt.Transform(new Point(0, ContentSite.RenderSize.Height));

popup.VerticalOffset = p.Y;

popup.HorizontalOffset = p.X;

popup.IsOpen = true;

# re: Silverlight 2 Release Candidate Now Available

Tuesday, September 30, 2008 4:39 PM by Steve P

Scott,

Great blog!  Since comments here seem to include wish lists, here are two wishes I have for Silverlight:

1)  Play Flash flv videos.  I hear something about HD flash in Silverlight 3, but I would like to see regular flv videos in Silverlight as well.  Silverlight, in my opinion, is a much better programming experience than Flex.  But I am forced to use Adobe stuff simply because we must play flv videos.  Build that in and developers will board the Silverlight train much quicker.

2)  Add MediaTimeline.  It is a great part of WPF and I was surprised when I saw it wasn't in Silverlight.

Keep it up!  Silverlight is awesome.

# re: Silverlight 2 Release Candidate Now Available

Tuesday, September 30, 2008 6:01 PM by Vaibhav

With the new release candidate the TransformToVisual method to obtain position of a UIElement no longer works as expected. It seems like the coordinates have some kind of offset both in x and y direction. Therefore your popup will appear too far out and too far down. Is this a bug in the RC 0. It worked fine when I tried this in Beta 2

GeneralTransform transform = _MainTextBox.TransformToVisual(Application.Current.RootVisual as UIElement);

Point popupPos = transform.Transform(new Point(0, _MainTextBox.ActualHeight));

_popup.IsOpen = true;

_popup.HorizontalOffset = popupPos.X;

_popup.VerticalOffset = popupPos.Y;

# re: Silverlight 2 Release Candidate Now Available

Wednesday, October 1, 2008 4:23 AM by djsolid

Hello Scott,

Is there or will be support for streaming via a Shoutcast webradio? It cool be really usefull to be able to create a player for a shoutcast stream in silverlight.

# re: Silverlight 2 Release Candidate Now Available

Wednesday, October 1, 2008 8:16 AM by Narasimha

Does this work on VWD 2008 Express SP1? I was trying to install, but no success.

I believe the final release will work. Please confirm the same.

# re: Silverlight 2 Release Candidate Now Available

Wednesday, October 1, 2008 12:06 PM by HAbutom

Hi Scott,

It seems like trying to set, increment, or dectement the SelectedIndex of a ComboBox frequently creates an exception.  The items in the ComboBox are created dynamically within the program and stuffed into the ComboBox.

Is there a known issue regarding this problem?

Thanks

# re: Silverlight 2 Release Candidate Now Available

Thursday, October 2, 2008 10:51 AM by Rik Dessers

Hi Scott

I try to install the silverlight tools but I get always the error: "The hash value is not correct". can you help me out?

thanks

# re: Silverlight 2 Release Candidate Now Available

Thursday, October 2, 2008 1:01 PM by Amit

Scott,

I would think that it will be strategic win for Microsoft if it can take Silverlight to the iPhone and PS3 before they begin supporting Adobe Flash on these devices.

Amit

# re: Silverlight 2 Release Candidate Now Available

Thursday, October 2, 2008 4:22 PM by netghost

In response to Vaibhav's comment

What you observe is most likely the breaking change from Beta2. Beta2 behavior was to position popups at 0,0 from the plugin top left corner, regardless of where was the popup created / added to the visual tree. In RC0 (and RTW) popup positioning depends on where it is added in the live tree, i.e. if the popup control has a parent, it's origin would be bottom left corner of the parent. If you declare popup in Xaml (usually as a child of LayoutRoot Grid / other panel control), it automatically gets its Parent property assigned to that control, and positioning changes according to the position of that control.

In the following example Popup's coordinates would be (10,120), which is (LayoutRoot.Left + HorizontalOffset, LayoutRoot.Bottom + VerticalOffset).

<StackPanel x:Name="LayoutRoot" Background="White">

       <Rectangle Height="100" Width="100" Fill="Red"/>

       <Popup x:Name="pop" IsOpen="True" HorizontalOffset="10" VerticalOffset="20">

           <Rectangle Height="100" Width="100" Fill="Blue"/>

       </Popup>

</StackPanel>

If you create a new popup instance in code, it will not have its Parent property set, and will be positioned from the (0,0) origin. I hope this would help you solve your issue.

Original comment:

Tuesday, September 30, 2008 10:32 AM by Vaibhav

It seems that TransformToVisual method on a FrameworkElement does not return appropriate results. I used this to get the coordinates of a UIElement with respect to another element. It is useful for positioning popups. It worked well in Beta 2. Now it appears to add a huge offset in both x and y direction.

GeneralTransform gt = ContentSite.TransformToVisual(Application.Current.RootVisual as FrameworkElement);

Point p = gt.Transform(new Point(0, ContentSite.RenderSize.Height));

popup.VerticalOffset = p.Y;

popup.HorizontalOffset = p.X;

popup.IsOpen = true;

# re: Silverlight 2 Release Candidate Now Available

Thursday, October 2, 2008 5:28 PM by BJ Quinn

Can we manipulate controls in the design view for Silverlight in .NET yet?  Like, for example, I want to drag a button onto the design view, then move it around, resize it, etc.

# re: Silverlight 2 Release Candidate Now Available

Thursday, October 2, 2008 7:55 PM by Jerry

Hi, Scott, Do you know if the Silverlight 2 final release will support UDP socket? Thank you very much!

# re: Silverlight 2 Release Candidate Now Available

Friday, October 3, 2008 4:26 AM by Doug Leach

Hi Scott,

Thanks for the developers heads up! that really helps my company prepare for the RTM release of Silverlight 2. Excellent job by you and your team.

One quick question though, We're looking into taking another project into the Silverlight RIA realm. A major showstopper for us is not having any support in Silverlight for middle-eastern Right-to-Left languages. Primarily Arabic and hopefully Hebrew. Any word on when that's going to find it's way into Silverlight? or if you can't say that (and I guess you can't), what is the current recommended workaround for that?

Thanks, Doug

# re: Silverlight 2 Release Candidate Now Available

Friday, October 3, 2008 10:40 AM by CoroWare

We want to continue developing on Silverlight 2 beta2 for our customers and we need to anticipate the Release-to-Web. Is a date already defined?

# re: Silverlight 2 Release Candidate Now Available

Friday, October 3, 2008 4:52 PM by HAbutom

Hi Scott,

Are there any plans in the near future to support the rest of the ToolTipService methods like the SetInitialShowDelay, SetBetweenShowDelay, and SetShowDuration, or should we start looking for another alternative?

Thanks

# re: Silverlight 2 Release Candidate Now Available

Saturday, October 4, 2008 11:49 AM by Coroware

We intend to continue delivering applications to our customers on Silverlight beta 2. We need to plan for the Release-to-Web. Has a release date already been defined?

# re: Silverlight 2 Release Candidate Now Available

Monday, October 6, 2008 10:44 AM by Jared

Hi Scott,

Some people left comments about popup positioning.  After some experimentation I've noticed that it takes on the attributes of the containing parent...that is, if I put my popup in a grid with a textbox/button/etc...the popup will by default appear in the grid cell I designate.  Same holds true for a stack panel.  If I put my label/textblock and popup in a stackpanel (orientation=vertical) it will display directly below my textblock...giving the look of a very simple menu.  You may already know this, but I thought I would post it just in case someone else is looking for this information.

# re: Silverlight 2 Release Candidate Now Available

Tuesday, October 7, 2008 2:02 AM by yxs

under Windowless mode

international keyboard inputs in text  is not support?

# re: Silverlight 2 Release Candidate Now Available

Tuesday, October 7, 2008 1:59 PM by Steve

SaveFileDialog please. This was promised on a previous blog post from Scott.

# re: Silverlight 2 Release Candidate Now Available

Wednesday, October 8, 2008 1:21 PM by Ronald

Great this Release Candidate but what I really don't understand is why a Public Silverlight version is not available for download as you did with the Beta 2 version.

We are developing in Silverlight however how the can I testdrive the build and not go live with it ?

Regards

Ronald

# re: Silverlight 2 Release Candidate Now Available

Saturday, October 11, 2008 9:57 AM by manor

Scott,

How does Silverlight + MVC work? Do you have any article written on how to use MVC in Silverlight? Thanks!

# re: Silverlight 2 Release Candidate Now Available

Sunday, October 19, 2008 3:19 AM by Graeme

Did anyone else get the DVD set from TechEd-US?  It was handed out at TechEd-AU, and required Silverlight 2 beta 2 to run the menu system on each DVD.  All good so far.  Now install RC0 and spend time burrowing through directories on the DVDs to manually select and play individual sections of each presentation because the menu system no longer works.

Has anyone tried to 'downgrade' back to the beta? Any success stories?

# re: Silverlight 2 Release Candidate Now Available

Tuesday, October 21, 2008 4:55 AM by Dani Duran

Like Rik Dessers commented above, I also got the error "hash value not correct" while trying to install the silverlight tools RTW.

The problem in my case was that the installer could not download something from the internet because of my company proxy. If I disable the internet connection the error is the same. I connected through another proxy-free connection and the installation went fine.

The problem is that the error message of the installer is not much intuitive. The html log file however, is a nice place to check the error cause.