Page view counter

3 New Vids Post; 2 Move to the Top of my To-do List

I’m pleased to announce we’ve posted three new videos:

  • Graphics and Brushes (never hurts to “brush up” on the fundamentals and I try to bring together what we were doing in 1.0 with what Blend brings to the party.
  • Using Multiple Pages Part 2 covers passing data/parameters from one page to the next (and no change the the url and no callbacks because everything happens on the client
  • In-state animation – By adding just a tiny bit of animation to a control while it is within its state (while the mouse is over the control or while it has the focus) you can greatly enhance the user’s experience.

3NewVids

In the In-State Animation video I show the use of a Content Presenter control to allow the user to dynamically set the content for my round button, and in fact this is what allows me to use one template instead of four in the blog post A Third Way To Handle Templated Buttons and Images but it would be nice to show that technique in a video of its own; so that is on the way.  Therefore I’m moving up two videos:

1) How to use a contentPresenter to allow the user to set the content of a templated button and

2) How to use image resources to use one templated button with multiple backgrounds

Now on the top of my to-do list.

 

-j

Published 12 August 2008 06:55 PM by jesseliberty

Comments

# DotNetKicks.com said on 12 August, 2008 08:04 PM

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# Silverlight news for August 13, 2008 said on 13 August, 2008 05:19 AM

Pingback from  Silverlight news for August 13, 2008

# Dew Drop - August 13, 2008 | Alvin Ashcraft's Morning Dew said on 13 August, 2008 09:31 AM

Pingback from  Dew Drop - August 13, 2008 | Alvin Ashcraft's Morning Dew

# Merrill Marie said on 13 August, 2008 04:27 PM

I am not the brightest lightbulb on the block .. how can I get the app multipage (which is great) to work in a silverlight 2 vs2008 website (xap) application?

Thanks, Jesse

# jesseliberty said on 13 August, 2008 10:22 PM

Merrill can you say more about what you are confused about. In the simplest form, you download the source code, load it into Visual studio and start it up.

# Community Blogs said on 14 August, 2008 01:32 AM

Bart Czernicki comparing Silverlight to Flash, Jesse Liberty with 3 videos, and Dan Wahlin on Layout

# Merrill Marie said on 14 August, 2008 10:39 AM

I start out with a creat fresh new silverlight project with the website option so I can add other projects, like a web service. Next step is to replace app XAML cs with the redirect to PageSwitcher. Next step is to add Page Switcher, and a second XAML page. Build works fine. When in run it, it goes to the xap file and a blank screen .. will not even come up with page.xaml

Thanks for your time .. I really appreciate it

# Merrill Marie said on 14 August, 2008 11:22 AM

<UserControl x:Class="freshJesse.PageSwitcher"

   xmlns="schemas.microsoft.com/.../presentation"

   xmlns:x="schemas.microsoft.com/.../xaml"

   Width="640" Height="480">

<Grid x:Name="LayoutRoot" Background="White">

</Grid>

</UserControl>

Found my error

DUMB DUMB DUMB and More DUMB

when I created the blank form for PageSwitcher I left in the grid .. take out the grid and it works just fine .. sorry to be a pain in the butt .. thanks for your time .. it means a lot to me and i am sure to many many others ..

# jesseliberty said on 14 August, 2008 11:05 PM

Merrill, Not only did you find it yourself, so I can't take much credit, but you point out something very important that I need to emphasize every time I cover this material: that the pageswitcher must not have any content (or the if statement that sets page1 will fail.)

In any case, glad you found it so quickly (though I know it didn't feel quick!)