Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus eleifend a mauris in ullamcorper. Fusce interdum risus sit amet tellus congue, eget imperdiet nibh blandit. Cras vulputate eros sit amet ante malesuada, id convallis ipsum pulvinar. Phasellus eget tempor urna. Aenean eu rhoncus arcu, quis mattis felis.


Quisque et posuere orci. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Pellentesque mollis facilisis justo, sit amet gravida nisl venenatis ac. Vivamus a leo placerat, sagittis lacus a, tristique dui. Praesent ut volutpat augue, sit amet bibendum libero. Maecenas porta congue laoreet.


Sed facilisis, risus quis accumsan pellentesque, velit lacus adipiscing mauris, eget pulvinar nibh metus id.Ut lobortis, quam sed pellentesque interdum, est ante viverra purus, eget tristique tortor enim id neque. Suspendisse a diam pretium, egestas felis vel, vulputate leo. Nam quis mauris ut ipsum dapibus malesuada in a quam. Nulla facilisi.

Posted in Uncategorized | Leave a comment

Data Binding – From Excel to Blend

  1. Create an XML format document with structure of your data. Create two elements. Use something like:
  2. <?xml version=”1.0″ encoding=”UTF-8″ standalone=”yes”?>
  3. Open XML Spy and validate the syntax, then generate a schema
  4. Open your excel data file, go to the Developer tab (you might need to expose this under options), click “Source” and from the “XML Maps” button browse to XML page. Drag column headers over from Map box to column header in Excle, you will see the data populate.
  5. Save as “XML Data”
  6. In Expression Blend, go to Data tab and “Import from XML”
  7. Drag item collection to the grid to which you would like to bind.

That’s it!

Posted in Uncategorized | 1 Comment

Silverlight datagrid – creating checkboxes and hyperlinks in column

It took me awhile to figure out that there are three types of DataGridColumns, I could not expose the celltemplate because I was referencing the  DataGridTextColumn instead of the DataGridTemplateColumn. So here is the DataGrid with a checkbox, textcolumn and template. To hyperlink locally, I think you need a target name and Frame in the target page.

<sdk:DataGrid DataContext=”{Binding}” ColumnHeaderStyle=”{StaticResource ColumnHeaderStyle}” AutoGenerateColumns=”False”  ItemsSource=”{Binding ItemCollection, Source={StaticResource CustomData}}” >
        <sdk:DataGridCheckBoxColumn Binding=”{Binding DataOne}” Width=”40″/>
        <sdk:DataGridTemplateColumn Header=”Description” Width=”400″>
                      <HyperlinkButton Content=”{Binding DataTwo}” NavigateUri=”http://website.com” > 
   <sdk:DataGridTextColumn Binding=”{Binding DataThree}” Header=”Coupon”/>
   <sdk:DataGridTextColumn Binding=”{Binding DataFour}” Header=”Product”/>
  <sdk:DataGridTextColumn Binding=”{Binding DataFive}” Header=”Service”/>    </sdk:DataGrid.Columns>

Posted in Uncategorized, XAML | Leave a comment

The type ‘dxg:GridColumnHeaderThemeKey’ was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.

Add this to your window/usercontrol:


Posted in Uncategorized | Leave a comment

Mageui – No entry point specified on application manifest validation

For several days I was trying to use mageui, after populating the files and selecting the application.exe as the entry point, I would click Save and the entry point selection would default back to no selection. The problem was that I was using an older version of mageui- there are several on my machine with VS and SDKs- so be sure to use the latest version of mageui.exe with your project.

MageUI - the Entry Point selection disappears on 'save'

Posted in Uncategorized | Leave a comment

WPF Bug: Fatal Exception 0x80131623

My project suddenly became unblendable, however I could open the solution in Visual Studio and build. Adding the dll to VS or Blend caused the fatal error, so there was something wrong with the build. I went through all of my recent files and made sure all of the markup was well formed, none of the build settings had changed. I copied the project file from a backup and replaced it and the problem was fixed.

Posted in Expression Blend | Leave a comment

WPF: link from one page to another


  • The hyperlink Button is only in Silverlight
  • You can only link to a Page and not a Window


<ListBox >
   <ListBoxItem x:Name=”ItemName” Style=”{DynamicResource ItemStyle}” >
    <Hyperlink NavigateUri=”Page.xaml”><Run Text=”Item Name”/></Hyperlink>
</ListBox >


    <Hyperlink NavigateUri=”Page.xaml”><Run Text=”Link Name”/></Hyperlink>

Posted in Uncategorized | Leave a comment

Unable to copy file Error

Unable to copy file “obj\Debug\MyProgramName.exe” to “bin\Debug\MyProgramName.exe”. The process cannot access the file ‘bin\Debug\MyProgramName.exe’ because it is being used by another process.

I keep getting this error, I read a few solutions online, one menitoned writing a line of code in the project file to unlock the project. That didn’t work for me, I changed the output directory to another folder and was able to build successfully.

Posted in Uncategorized | Leave a comment

New favorite code editor: Sublime Text


The minimap is a nice visual that shows your location in large files.

Posted in Uncategorized | Leave a comment

Dev Express controls disappear from the Visual Studio Toolbox

Clicking on toolboxcreator.exe invokes an error, start the ToolBoxCreator from the Windows Start menu and you can re-register without any issues.


Posted in Uncategorized | Leave a comment