Blog of a Filipino Developer about C#, VB.NET, ASP.NET, Java, PHP, SQL Server, MySql and Oracle RSS 2.0
# Thursday, December 03, 2009
I just saw this posting from sandiego.craigslist.com and it really made me laugh. LOL.

http://sandiego.craigslist.org/csd/sys/1493519713.html



Heheh. Funny.
Thursday, December 03, 2009 11:51:10 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
Fun Stuff
# Sunday, November 22, 2009
Ayayay! More than half a year of inactivity :(

But now i'm back! Watchout for updated post on my recent adventures. Stay tuned friends ;)

Sunday, November 22, 2009 6:01:35 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
Life
# Wednesday, March 18, 2009

dasBlog/Release/ProjectReleases.aspx">dasBlog 2.3 was released last Monday March 16, 2009. It's a minor release that fixes a few bugs in the code base. Congrats dasBlog team for this release.

Below is the list of changes for this release:

New version of dotNetOpenId
Small bug fixes
Several small JavaScript errors
Captcha now works more reliably
Better Time handling in timeline
New 32/64 bit version of the Basic DatePicker
Centralized handling of binary files to a BinaryDataService

On a side note, I've been thinking for the past few months now about updating my site theme. I think I've been using this theme for the past 2 years and it's starting to look bland. I think this new release of dasBlog will give me the chance to upgrade my site theme. I don't know how  it's gonna look yet but i'm sure its going to be better than what it is today (Hopefully!). ;)

Wednesday, March 18, 2009 3:19:11 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
Release | Tech News and Issues

I saw this on the ASP.NET MVC download page and it seems like it was released yesterday.

I haven't seen any official announcement anywhere yet but I expect to hear something coming out of the MIX09 event regarding ASP.NET MVC 1.0 RTM. I was able to confirm with Ben Scheirman via twitter that it's RTMed. I don't know where he got the news but judging by the screenshot above it looks like its true.

In case you are interested in learning about ASP.NET MVC, Microsoft has released an application called NerdDinner.com which is a event management website that enables users to register for "geek dinners". I believe that application was built using ASP.NET MVC 1.0 RC2 but it should be compatible with the RTM version (I haven't compiled it with the latest version yet). It's a really nice sample application that shows you how to build an application using ASP.NET MVC. Whats neat about NerdDinner.com is that it part of the book that Scott, Scott, Phil  & Rob are writing and they have been kind enough to let as peek at their upcoming book by giving a free chapter that details how they built the NerdDinner.com website step-by-step using ASP.NET MVC.

Wow, I'm really stoked! This is going to be a fun day! Thanks MS!

Wednesday, March 18, 2009 2:33:48 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
ASP.NET | MVC | Tech News and Issues
# Monday, March 09, 2009

Tooltips are great additions to any interface and in this article I'm going to show you how to attach a tooltip to control in Silverlight 2.

To start, let's assume that we have a button that we want to add a tooltip to:

[XAML]

<UserControl x:Class="KeithRull.Silverlight.CreatingTooltips.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="#FF1E238E">
        <Button Content="Hover over me!" 
                Height="20" 
                Width="100" Margin="30 40" 
                VerticalAlignment="Top" 
                HorizontalAlignment="Left">
                
        </Button>
    </Grid>
</UserControl>

[Rendered UI]

In order or us to attach a tooltip to our button we need to create a reference to the TooltipService.Tooltip inside the our button's XAML declaration. We also need to setup the Tooltip.Content to tell the compiler what to show when the user hover's to our button.

[XAML]

<UserControl x:Class="KeithRull.Silverlight.CreatingTooltips.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="#FF1E238E">
        <Button Content="Hover over me!" 
                Height="20" 
                Width="100" Margin="30 40" 
                VerticalAlignment="Top" 
                HorizontalAlignment="Left">
            <ToolTipService.ToolTip>
                <ToolTip>
                    <ToolTip.Content>
                        <TextBlock TextWrapping="Wrap">
                            Hooray! I'm alive!.
                        </TextBlock>
                    </ToolTip.Content>
                </ToolTip>
            </ToolTipService.ToolTip>
        </Button>
    </Grid>
</UserControl>

[Rendered UI (at runtime)]

The message "Hooray! I'm alive!" appeared when the user hovers over our button. We can also cutomize how our tooltip appears by adding more XAML elements in the Tooltip.Content property.

[XAML]

<UserControl x:Class="KeithRull.Silverlight.CreatingTooltips.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="400" Height="300">
    <Grid x:Name="LayoutRoot" Background="#FF1E238E">
        <Button Content="Hover over me!" 
                Height="20" 
                Width="100" Margin="30 40" 
                VerticalAlignment="Top" 
                HorizontalAlignment="Left">
            <ToolTipService.ToolTip>
                <ToolTip Background="#FFFFFF" Width="150">
                    <ToolTip.Content>
                        <StackPanel>
                            <Image Source="images/silverlight.png" />
                            <TextBlock HorizontalAlignment="Right">
                                It rocks like a champ!
                            </TextBlock>
                        </StackPanel>    
                    </ToolTip.Content>
                </ToolTip>
            </ToolTipService.ToolTip>
        </Button>
    </Grid>
</UserControl>

[Rendered UI (at runtime)]

Another customization that you might want to do is specifying the HorizontalOffset and the VerticalOffset. This allows you to specify where the tooltip will appear in reference to your target control.

Monday, March 09, 2009 10:49:38 PM (GMT Standard Time, UTC+00:00)  #    Comments [0] -
.NET | Silverlight | Tutorial
Archive
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Keith Rull
Sign In
Statistics
Total Posts: 271
This Year: 0
This Month: 0
This Week: 0
Comments: 182
Themes
Pick a theme:
All Content © 2010, Keith Rull
DasBlog theme 'Business' created by Christoph De Baene (delarou)