Onteora Software

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

October 2008 Entries

Sql Management Studio 2008 list database error

I have some sql 2005 databases I need to maintain on a web hosts sql server.  I was able to connect to the sql server fine with sql management studio 2008 but when I tried to expand the databases like I got an error like this.         I found this connect item which explains how to fix the issue   http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=354291   This seems to be similar to SSMS Object Explorer issue discussed here:http://forums.microsoft.com/msdn/showpost.aspx?postid=3531315&isthread=false&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=0Please try using the following workaround and let us know if that helps:1) Bring Object Explorer Details window by selecting View -->...

posted @ Wednesday, October 29, 2008 1:13 AM | Feedback (17) | Filed Under [ Sql ]

Kens Silverlight Databinding Presentation

Link to slides and sample code for Silverlight Databinding presentation given at the   South West Florida Code Camp Sept 2008 Orlando Sql Saturday Oct 2008   http://www.vb-tips.com/downloads/Silverlightdatabinding.zip

posted @ Saturday, October 25, 2008 4:18 AM | Feedback (8) |

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 ]

Powered by: