Premium Content


Premium Content articles are the very best articles from the world's leading internet technology, subject-matter experts. We have many categories of content below on a wide variety of subjects that have all been commissioned from big name authors.

Explore the Premium Content

Building a Silverlight 2.0 Media Player: Part I Creating the Navigation

One of the major advantages to using Silverlight 2.0 over Flash is its very powerful MediaElement.  It is very easy to use and very easy to create custom controls that play, pause and stop the video among other things. 

In this tutorial I am going to show you how to use the MediaElement by creating a Silverlight 2.0 Video Player complete with a cool animated navigation.  In Part I we are going to create the Navigation with some very cool, slick animation using the Visual State Manager (VSM) and Blend 2.5’s new State panel.  The VSM allows us to easily add State Groups to which we can add States that contain transition animations.

Read More

Creating Drop Shadows with Ajax in ASP.NET 2.0

In this tutorial we'll learn how you can apply drop shadows to your Panel controls in ASP.NET by using the DropShadowExtender
in the Ajax Control Toolkit. With this extender you can create visually asthetic Panel layouts.

Check out the Intro read more


 

Read More

Building A Silverlight 2.0 Custom Button Control

There are some really cool new features to Silverlight 2.0, one of which is the ability to style up a cool looking series of Rectangles with various gradients and then group them into a Layout Control, such as a Grid or Canvas and then in Blend 2.5 turn it into a Silverlight 2.0 Button Control complete with the behaviours that are native to a Silverlight 2.0 Button (Click, MouseEnter, MouseLeave, etc.).  I am going to show you how to do just that.  After that I am going to show you how Silverlight 2.0 makes reusing assets and Controls a breeze by placing some content, along with out new stylish custom Button Control into a Layout Control and then turn that into a Silverlight 2.0 UserControl.  Finally, I will show you just how easy it is to reuse our newly created UserControl.  Without any further ado, let’s get to it!

Read More

WPF: Using C# Interfaces to Create Polymorphic Classes

When a class is derived from another class, commonly known as a Base Class or Super Class it inherits all of its members (Methods, Events, Properties, etc.).  But say the derived class needs to modify what it has inherited?  There are two ways to accomplish this: The members can be replaced or the derived class can override its members (provided the base members are virtual...Don’t let this confuse you; I will explain in later).  If you replace a base class member you have to use the new keyword.  Personally, I don’t feel that this is best practice because I am of the opinion that if you have to replace a member of the base class there is a fundamental flaw in the design of the architecture but that is another article for another time; just take my word for it for now.  In this article I am going to explain to you how to:

  • Use Interfaces to declare methods;
  • Create a base class that declares and/or defines those methods;
  • Create classes that are derived from the base class;
  • Have the derived classes override the base class methods;
  • In the base class show you how to require that the derived child classes override the base class methods;
Read More

Using Blend 2.5 Visual State Manager to Create a Silverlight 2.0 Image Viewer

Recently Microsoft released Blend 2.5 June Preview.  So, of course I started looking around to find what was new.  I was blown away by a new panel called the State panel.  This new panel allows you to create State Groups that you can then add states to (called a Visual State Manager (VSM)).  You can even specify the time (in seconds) it takes for a State to transition from one to the next.  So, I then started thinking about a practical application for this new feature.  Of course I could have made an application that had custom buttons (really just a series of grids and not actually a Button Control) and used the State panel to make MouseEnter and MouseLeave effects.  But, this seemed to me to not really show the power of this new feature.  So, then I came up with an idea to make an Image Viewer and use the VSM to handle the animation for me.  Here is how it works: when you roll over the thumbnail it grows to a larger size, when you roll off of it, it shrinks back down to the thumbnail size (see Figure 1-0).  Let’s get started now and build the StateImageViewer UserControl.



Read More

Triggering an UpdatePanel CSS Change from a DropDown in ASP.NET 2.0

In this video tutorial we'll explore how we can trigger CSS changes on a server control contained inside an
UpdatePanel from a DropDownList control

Check out the Intro read more


 

Read More

Creating Summary Rows in GridViews in ASP.NET 2.0

In this video tutorial we'll explore how you can override the GridView control's
HTML output and append a total or summary row to the end of the table.

Check out the Intro read more


Read More

Using Cookies in ASP.NET 2.0

In this tutorial we will look at an example of using cookies to bypass database lookups when a user goes to a
fictitious company website. We'll simulate a login and then see how we can remember information about a user when they return to the page through cookies.

Check out the Intro read more


 

Read More

Using the YUI Color Picker Control

The YUI is constantly growing and evolving, and new utilities, tolls and controls are rapidly being developed and added. One of these controls is the Color Picker, used to add a compact and easy-to-use interface for selecting colours. The format of the control is intuitive and is similar to what you’d find in an imaging application such as Photoshop. During the course of this tutorial we’ll be looking at just how easy it is to add colour-picker functionality to your web pages.

Read More

Creating an Ajax Slideshow in ASP.NET 2.0

In this tutorial we'll take a look at the Ajax Control Toolkit SlideShowExtender control which is capable
of extending a basic Image control in ASP.NET and leveraging it as a slideshow control with basic
play/stop/previous/next controls.

Check out the Intro read more


 

Read More

Customer Ticket System Part 3

In this, third part of the Customer Ticket System Sebastian Sulinski will show you how to create an Edit Customer page using Adobe Dreamweaver CS3.

Check out the Intro read more

  
 
 
Purchase this video to view the full movie
Read More

Formatting Data in a DetailsView Control in ASP.NET 2.0

In this tutorial we'll explore how to custom format specific fields of data according to different business rules,
allowing you to visually indicate to your users the differences between certain rows of data in your database.

Check out the Intro read more


Read More
Newer articles Older articles