[Home] [Recent] [Site Map] [SharePoint] [XBOX]
I am an avid user of Digg. I read it way more than I should. But a problem with it is really annoying me. It can"t seem to remember that I am logged in. Take a look at this screenshot:

About 50% of the time when I try to digg an item or a post it says I am not logged in. But the site thinks I am logged in (see the "Log Out" hyperlink in the upper right hand corner). So I log in and it takes me back to my home page and I have to find the item to digg it...usually I give up and fail to digg it. Hrmph!
Add Comment | digg this
I noticed that CompUSA was closing about 1/2 their stores so I thought I"d take a look at which ones are closing. Interesting it looks like ALL Atlanta-Area stores are closing. It looks like Augusta and the Alabama stores are staying open. I would guess that the pressure from BestBuy has jsut been too much. The quality of their in-store help has been so bad the last few years that I am crying crocodile tears at their closing, but I am still surprised they can"t compete in Atlanta at all.
If you live in the area, remember they are liquidating their stores so there are deals to be had...
Add Comment | digg this
In partnership with O"Reilly, I"ve released a Short Cut titled "Getting Started with Silverlight". Short Cuts are PDF"s that spotlight a specific technology.If you are interested in the basics of Silverlight, the Short Cut is a great place to start.

Add Comment | digg this
The Atlanta Geek Dinner will resurface next month on May 10th. It will be in the Perimeter area (exact restaurant to be choosen this week). Save room on your calendar for a social, networking event. It will be a place to eat and have beer. Please let me know if you plan on coming by sending me an e-mail by clicking this link.
Thanks!
Add Comment | digg this
If you are doing any WPF development, get this new *free* (as in beer) tool from Chris Sells (with help from Ian Griffiths) that allows you to see the template of the built-in controls. It lets you see what the template is and what the control looks like across different themes. If you are writing your own controls (or just templating a built-in control) its a great way to "borrow" from their ideas and make them better.

Add Comment | digg this
I use ListBox"s and DataTemplates a lot to show data in different ways in WPF. One of the problems I"ve faced is how to change the look of the "Selected" element. All the examples I could find assumed you were not using a DataTemplate. Luckily Chris Sells came to my rescue and pointed me at the ItemContainerStyle. Using a Template for the ListBoxItem in the ItemContainerStyle let me control the look and feel of the Selected element (or disabled items) easily.
What I wanted was a nice glow effect instead of the default blue background:

This worked fine, but I was still getting the default behavor (of coloring the background blue) when I selected an item. To fix it, I added a Style that overrode the ListItemBox"s template and replaced it with a simple border. I added a Trigger to this template on the IsSelected to add a nice bitmap affect of a red glow. Here"s the entire XAML example:
<Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid.Resources>
<!-- The Data Source -->
<XmlDataProvider x:Key="FolderListData">
<x:XData>
<People xmlns="">
<Person Name="Chris"
Picture="http://www.sellsbrothers.com/services/me.jpg" />
<Person Name="Shawn"
Picture="http://adoguy.com/images/headshot.jpg" />
<Person Name="Ian"
Picture="http://tinyurl.com/2szrbm" />
</People >
</x:XData>
</XmlDataProvider>
<!-- ItemContainerStyle with the Trigger for Selected -->
<Style x:Key="RedGlowItemContainer" TargetType="{x:Type ListBoxItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListBoxItem}">
<Border Background="LightGray"
CornerRadius="8"
BorderThickness="3"
x:Name="IconBorder"
Margin="8,4,8,4" >
<ContentPresenter />
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="true">
<Setter TargetName="IconBorder" Property="BitmapEffect">
<Setter.Value>
<OuterGlowBitmapEffect GlowColor="Red" GlowSize="5" />
</Setter.Value>
</Setter>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
<ListBox ItemsSource="{Binding Source={StaticResource FolderListData}, XPath=//Person}"
HorizontalAlignment="Center"
ItemContainerStyle="{StaticResource RedGlowItemContainer}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Margin="10,10,10,10"
HorizontalAlignment="Center"
VerticalAlignment="Center" >
<Image Width="90"
Source="{Binding XPath=@Picture}" />
<TextBlock HorizontalAlignment="Center"
VerticalAlignment="Center"
Height="20"
Text="{Binding XPath=@Name}"/>
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</Grid>
Let me know what you think...
Add Comment | digg this
Add Comment | digg this
If you want to know more about Silverlight now, you can pick up Chris Sells and Ian Griffith"s book, "Programming WPF: Second Edition". The rough cut edition is available now from O"Reilly with the final print edition coming soon. I wrote the Silverlight Appendix for that book. The Rough Cut includes the Appendix (as well as a great WPF) with its old WPF/E moniker, but the release will include the fully silver-lit version.
In addition, i"ll have a "Silverlight Short Cut" available soon from O"Reilly in time for MIX (By end of April). I"ll let you know in this space when that is available for download! If you"re unfamilliar with Short Cuts, here"s O"Reilly description from their website:
Short Cuts are PDF documents that spotlight one specific topic, usually in fewer than 100 pages. Whether it"s a first look at a brand new technology, a quick reference, or a thorough explanation of a narrow but crucial subject, Short Cuts bring you focused information in an easy-to-use, portable package.
Add Comment | digg this
There will be a new home for Silverlight launch on April 30th (for MIX). That site will be at http://silverlight.net. I assume it will be a new site ala asp.net, windowsforms.net, etc.
Note the .net part of the web address...I was confused last night when they launched the new name and noticed that http://silverlight.com was a .mac hosted web page. I wonder if they couldn"t get the rights to the domain or they have something tricky up there sleeve.
Speaking tricky, I have talked with the team for months about lots of topics, including the training class I did for them some months back on Silverlight (WPF/E). I asked several times why the host object was called "aghost". They seemed to always avoid the question...now I know why. Mike Harsh explains that they had they name for months now and the "ag" in aghost was in reference to the chemical name for silver (AG). Tricky...
Add Comment | digg this
I am really glad to hear the the WPF/E has finally released the real name of the technology as "Silverlight". I think I will grow to like it...it is certaily an improvement over WPF/E. I am just glad it isn"t something like "Windows Internet Multimedia Presentation System" like I feared.
.jpg)
3 Comment(s) | digg this
Site List:
>>Xbox Live_s Major Nelson
>>Xbox 360 & SharePoint 2007 Weblog
>>Carsten Keutmann_s Blog
>>Mohamed Zaki_s Blog [Sharepoint MVP]
>>The Mit_s Blog
>>Mart Muller_s Sharepoint Weblog
>>Microsoft SharePoint Products and Technologies Team Blog
>>SharePoint Solutions Blog
>>4GuysFromRolla.com Headlines
>>ASP.NET Blogs
>>SharePoint Blogs
>>SharePoint Blogs
>>Joel on Software
>>ADO Guy_s Rants and Raves
>>Microsoft Live Labs
>>GadgetNews
>>Windows Vista Team Blog
>>VoIP & Gadgets Blog
>>schrankmonster blog
>>Via Virtual Earth Blog
>>Feed
>>MSDN Blogs
>>Mashable!
Links:
Jack's Readings
Month Archives:
Oct 2007
Sep 2007
Top Tags:
social software social networking .NET mashable Sharepoint ASP.NET Web 2.0 Web2.0 Startups Community News Search Marketplace General Software Development AJAX Windows Vista Visual Studio Microsoft myspace Silverlight People Powered! YouTube Vista MOSS Featured News C# Events MOSS 2007 Google WPF Office 2007 Web Community Security General Personal Xbox 360 facebook Tools development SharePoint 2007 Fun Atlas Architecture ASP.NET AJAX myspace codes TheLongTail IIS SQL Server Developers Revenue Sharing Video Pictures WCF Mobile 2.0 Announcements Orcas MIX07 Arcade Team System JavaScript News
@2007 All rights Reserved |