Onteora Software

Ken Tucker's Blog
posts - 145, comments - 629, trackbacks - 0

Silverlight

Silverlight 3 Could Not download the silverlight Application

I created a simple Silverlight 3 app.   <UserControl x:Class="SilverlightApplication2.MainPage"     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"     mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">     <Grid x:Name="LayoutRoot">         <TextBlock Text="Hello World!" ></TextBlock>     </Grid> </UserControl>   When I run it I get this error Line: 56 Error: Unhandled Error in Silverlight Application Code: 2104    Category: InitializeError       Message: Could not download the Silverlight application. Check web server settings      Well if you look in the ClientBin folder you will see it is empty so the xap file is not available to be used   To fix this right click on the web application and select Build Order.  On the Dependencies tab...

posted @ Wednesday, July 15, 2009 12:00 AM | Feedback (8) | Filed Under [ Silverlight ]

Space Coast .Net Meeting – June 16, 2009 John Papa

John Papa - Ado.Net Data Services 6/17/2009 6:30:00 PM 6/17/2009 8:00:00 PM About John Papa is a Microsoft C# MVP, INETA speaker, member of the WPF and Silverlight Insiders, consultant, speaker, author, and trainer for ASPSOFT who specializes in professional application development with Microsoft technologies including Silverlight, WPF, C#, .NET and SQL Server. John has written over 70 articles and authored 9 books including his latest book Data Driven Services with Silverlight 2 by O’Reilly Media. John is currently working on a follow up to his Silverlight book, with a working title of Silverlight for Business. He can often be found...

posted @ Sunday, June 14, 2009 12:00 AM | Feedback (3) | Filed Under [ Silverlight User Group ]

Silverlight 2 GDR Available

This week Microsoft Release an GDR to silverlight 2 which included some minor fixes.   Here is a list of the main changes in the GDR (build 2.0.40115.0): Fixes problems that were caused by Silverlight and McAfee scanning tools interactions UI automation stability fixes, including: graceful failures when attempting to use features that require .NET Framework 3.0 or 3.5 on machines that do not have either framework installed improved Tablet support Fixes an issue that arises when Mac users customize their environment by removing Arial and Verdana fonts Fixes a known issue with Isolated Storage IncreaseQuotaTo method (see this post for more information) The one fix which bothered me a...

posted @ Sunday, February 22, 2009 6:03 AM | Feedback (14) | Filed Under [ Silverlight ]

Publishing a VB Silverlight 2 Beta 2 app which uses a WCF service

Note this works with the released version of Silverlight 2   I created a Silverlight 2 beta 2 app which uses a WCF Silverlight service which worked fine localy but did call the service when I published it to my web host.  After playing around with the different settings I finally came across an entry in the Silverlight Forums by sladapter with a solution.    http://silverlight.net/forums/t/19021.aspx    So lets create a simple Silverlight 2 App to demo how to do this.  I created a silverlight app with a web application project.   I prefer web applications to web sites but a web site will...

posted @ Sunday, February 15, 2009 5:09 AM | Feedback (8) | Filed Under [ Silverlight VB ]

MSDN Tikihut tour at Space Coast .Net

When: Wednesday, November 19, 2008 6:30 PM Eastern Time (US & Canada)    Who: Joe Healy, Jeff Barnes, and Russ Fustino   http://www.dotnettikihut.com/ Event Overview   Session 1 - What’s New in SQL Server 2008 for Developers - SQL Server 2008 adds numerous new capabilities for developers – from support for Spatial Data types to a storage mechanism for SQL BLOB data using the NTFS file system, and much, much more. The new release also delivers several improvements to development-related areas, from T-SQL to SQLCLR to XML. This presentation will provide a technical dive into the latest and greatest features you’ll find in SQL Server 2008, while offering insight into how to effectively apply...

posted @ Friday, November 07, 2008 8:45 AM | Feedback (14) | Filed Under [ Silverlight Sql VS 2008 ]

Silverlight 2.0 Create a context menu

Silverlight 2 does not come with a context menu control.  You could always handle the html document's oncontextmenu event and open a popcontrol to use as a context menu.  This sample should help you get started.  <UserControl x:Class="SilverlightContextMenu.Page" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Grid> <Rectangle x:Name="LayoutRoot" Fill ="Green" ></Rectangle > <Popup x:Name="menu"> <StackPanel> ...

posted @ Sunday, October 05, 2008 2:12 PM | Feedback (2) | Filed Under [ Silverlight ]

Silverlight 2 RC0 DataGrid CommittingEdit work around

In Silverlight 2 Beta 2 DataGrid had a CommittingEdit event which was a great event to update the data in an ado.net dataservice.   Unfortunately this event was removed in the RC0 of the datagrid.  As a work around Jonathan Shen suggested using a template column and using the LostFocus event to update your dataservice data.                      <data:DataGridTemplateColumn Header="Command">                         <data:DataGridTemplateColumn.CellTemplate>                             <DataTemplate>                                 <TextBlock Text="{Binding FirstName}"></TextBlock>                             </DataTemplate>                         </data:DataGridTemplateColumn.CellTemplate>                         <data:DataGridTemplateColumn.CellEditingTemplate>                             <DataTemplate>                                 <TextBox Text="{Binding FirstName}" LostFocus="TextBox_LostFocus"></TextBox>   //you can detect other events.                             </DataTemplate>                         </data:DataGridTemplateColumn.CellEditingTemplate>                     </data:DataGridTemplateColumn>   Well this works fine but I don't want to have to define all my columns this way.  Sometimes it is nice...

posted @ Sunday, October 05, 2008 6:56 AM | Feedback (4) | Filed Under [ Silverlight ]

Silverlight XAML 404 errors

Silverlight XAML 404 errors I created a simple web application which uses silverlight. Once I was happy with the way it was working I deployed to my webhost. When the web page loaded the silverlight control is not displaying anything.   Fidder 2 lets you examine what is going on when a webpage is loading. I see that there is a 404 error when loading the xaml file being displayed in the silverlight control. When I log into my webhost's control panel I see the xaml file is there.   According to Tim Heuser's blog all you have to do is Mime type...

posted @ Friday, September 21, 2007 9:39 AM | Feedback (1) | Filed Under [ Silverlight ]

Powered by: