Silverlight
I came up against a problem, it seems like a pretty specific problem, but none the less the solution took me a while to figure out, so worth sharing! My problem: I have a user control that contains some text among other things, but the text is of various length, the containing textblock therefore, like the user control has a dynamic height (set the Height property to System.Double.NaN). There are n instances of the user control within a StackPanel, as a control is added to the StackPanel I want a...
By Default scrolling with the mouse wheel is not enabled in the Silverlight DataGrid, actually I don’t think any control has it enabled. Personally I think its pretty standard functionality for things to scroll with the mouse wheel. So, I have got this little chunk of code that takes does the trick, nothing fancy going on here, but it works a treat. Code Snippet private void dgResults_MouseWheel(object sender, MouseWheelEventArgs e) { if (!e.Handled) { int rowsToMove = 0; if (e.Delta < 0) { rowsToMove...
Silverlight makes working with videos pretty straight forward, Microsoft makes Silverlight pretty straight forward with ASP.net and sharepoint is written in ASP.net, so match made in tech heaven!! I wanted a video player web part for sharepoint, that had some simple functionality like play, pause and volume. I started with expression encoder which output a nice media player interface...this is OK, but has a couple of restrictions; 1, its far to rich for what I wanted, animations all over the place...
When working with asp.net and now XAML I lean towards code view over the designer, a preference of course, but considering this feature I guess I am not alone. When working with events in XAML you can simply type "Click=" and the nice little helper jumps up asking what event handler you'd like to wire it up to or even create a new one and the stub will be created. NICE! As an added little beauty, this doesn't automatically send you off into the code behind. Why-o-Why isn't it the same for asp.net...
When you want to host Silverlight 2.0 applications in IIS you need to add the extension .xap for the MIME type applicaition/x-silverlight-... otherwise zip, no errors, nadda, nothing, zilch!! Technorati Tags: Silverlight 2.0,MIME type...
Day one is over at MIX UK. As my first experience of a Microsoft conference I must say I was not disappointed :) The conference opened with a keynote from George Moore and Scott Guthrie and lots of small demos from third party companies and the little apps they have developed using MS technologies, mainly Silverlight, which is the main theme of the conference, well day one at least!! In the first and second session I stayed with ScottGu and watched as he ripped through the power of silverlight, present...
Just registered for my place at MIX 07 on September 11th & 12th in London. Anyone going?? Technorati Tags: MIX UK...
OK so anyone reading this is most likely aware that Visual Studio 2008 beta 2 has been released but you may not be aware that today they have released Silverlight RC1, Silverlight 1.1 tools for VS 2008. Plus MS have released a refresh to Expression Blend. Scott Hanselman's has the best post I have seen and is a one stop shop for all VS 2008 info. Check it out http://www.hanselman.com/bl... UPDATEI should really add for completeness, even though its already...