Browse by Tags
All Tags »
Controls (
RSS)
In a previous blog, Controls State: "Error Creating Control" in the Design View in Visual Studio 2010 , I have discussed about an Error Creating Control issue related to accessing the Session state in the OnInit() method. Since then, I have discovered that the Error Creating Control will also show in the design view if we try to access any object not being instantiated at the design time inside the OnInit() method. For example, in a web application project, in a code-behind file that is adding controls dynamically to a page, similar to what was discussed in the article How To Dynamically Add Controls to a Web Page , we have code that’s accessing an object that is null at the design time as shown below When you switch to the design...
A hotfix is now available for issues most commonly described as " Controls are not being recognized in the code-behind " and " Editing existing .aspx regenerates .aspx.designer.(cs), but most of the controls are now missing ”. This hotfix can be downloaded from: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27117 The update addresses the following Connect bugs: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=532641 : Cannot embed standard asp.net controls in Ajax Control Toolkit TabContainer http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=533071 : Controls in CreateUserWizard WizardStep not visible as before http://connect.microsoft...
General Compat Thoughts The majority of the controls in the Silverlight Toolkit November 2008 (PDC) release are Silverlight versions of controls already present in WPF. These "WPF Parity" controls include: DockPanel WrapPanel ViewBox Label Expander TreeView HeaderedContentControl HeaderedItemsControl We focused heavily on API compatibility for these controls, only making changes (I'm actually not sure if there were any) for things that aren't currently possible on the Silverlight 2 runtime. And some things, like supporting Visual State Manager, required internal changes that made the process more complicated than just copying the existing WPF code. We did leverage the WPF control specs and use the WPF controls behavior...
On the heels of Scott Guthtrie's PDC keynote this morning, I'm very pleased to announce the launch of the Silverlight Toolkit on CodePlex! The Silverlight Toolkit is a collection of components dedicated to making you - the Silverlight Developer - as productive as possible writing Silverlight. The full Silverlight Toolkit is available under the Microsoft Public License, an OSI-Approved license that allows full reuse of the code. If you've read my last few posts, you know we're doing a slightly different release model. Based on what we learned with the AJAX Control Toolkit, Scott asked me to build a team focused on writing controls for Silverlight and WPF that could do so in a rapid, agile way. The Silverlight Toolkit is the first...
As you know, today we released Silverlight 2 . Scott mentioned the Silverlight Toolkit in his post as well - which is exactly what my team is working on . We're driving hard to get the first preview release of the Silverlight Toolkit at PDC later this month. Just to reiterate a few points that Scott called out. We'll be doing the release under an OSI license (MS-PL) and we will again be including unit tests and a testing harness. The harness is something that you're welcome to use in your projects, I talked about it a few weeks ago . We're including the tests themselves so that developers will be able to have plenty of examples about how to write tests, but also it allows some level of...
Here is the updated control sample for RC0. Just a few changes from Beta 2 - RCO: generic.xaml needs to now be in a folder called "themes" (case sensitive) rather than in the root of your project. In VSM transition declarations "Duration" has been renamed to "GeneratedDuration" So porting was easy. If you want to play with this, definitely load it up in Blend and check out the great new VSM support as well. It make re-templating MUCH easier and I had some fun creating weird collapse effects (not included). Read More...
Hmmm...no blogging lately...what has Shawn been up to? Yes, guilty. But here's what's been going on over the past few months. Shortly after MIX07, ScottGu brought up an idea of building a larger team focused on building controls. We kicked this idea around for while as we talked about details, timelines, and goals. In April, most of these details were worked out and we hashed out a charter and some early areas of focus and deliverables. The problem we saw was that we had a bit of a fragmented controls story. My team (the Agility Team that brought you the AJAX Control Toolkit, etc.) had been writing some controls. The core Silverlight team was writing some controls. The UIFX Team (which...
More Posts