Browse by Tags

All Tags » Silverlight » VB (RSS)
The following are some tips when building a business object class for use by Silverlight and RIA services. NOTE: This assumes you are not using Entity Framework (EF). Use Class-Level Validation Specifying class-level validation allows you to perform validation...
One of the biggest challenges of implementing validation in Silverlight is finding the appropriate technique based on your architecture and goals. There are lots of choices and lots of examples, but not all examples work in all scenarios. Plus many examples...
Many users want to print information from your line of business (LOB) application. This post covers the simple case where the user wants to print a copy of what they see on the screen. But instead of putting the print code in the code behind file, it...
This prior post introduced commanding in Silverlight for use with MVVM. However, the built-in Silverlight commanding only works for controls that inherit from ButtonBase, such as Button and HyperlinkButton. This post provides information on implementing...
As you build your line of business (LOB) applications, you will need to process commands. In many cases, these commands are executed when the user clicks a button. For example, when the user clicks the Save button, the code needs to process a Save "command"...
As you start to add more Views and associated View/Models to your Silverlight line of business (LOB) application, you will notice that the classes include some common and repeated code. Building a simple base class for your View/Models provides a single...
This prior post covered the details of setting up a database, defining an entity model using Entity Framework, building WCF RIA Services to access that entity model, and hooking it all up to a Silverlight DataGrid. That is all well and good. But most...
One of the challenges of building a Silverlight line of business (LOB) application is getting the data from the business database. The business database resides on a server computer and the Silverlight application resides on each user's computer....
If you built a custom theme for your application (similar to this prior post ) then you may find that your chart legend contents disappear. NOTE: This post is part of a series that starts with this prior post . The example in this post uses the application...
Data visualization is often a requirement in today's line of business (LOB) applications. Plus charts are just more fun to look at than data grids. Silverlight provides many different types of charts you can use to display the data in your LOB application...
When binding to a DataGrid, in most cases you have a fixed number of columns and a variable number of rows. This post covers the case when you have a variable number of rows AND a variable number of columns. NOTE: This post is part of a series that starts...
Model View View/Model (MVVM) is an effective pattern for building Silverlight applications. It provides many useful benefits when building business applications with Silverlight. NOTE: This post is part of a series that starts with this prior post . The...
One of the common requirements of a line of business application is to present data. This post demonstrates the basics of how to populate a DataGrid from a business object. This post is a "stepping stone" to the ultimate goal of populating the...
So, you've started building a Silverlight Line of Business (LOB) application using the Silverlight Navigation Application template ( as shown in this prior post ). This post covers how to add pages to it. NOTE: This post is part of a series that starts...
If you want to give your line of business application a nice color theme and some basic interactive styles without a lot of work, you can use the built-in themes as described in this prior post . However, as shown in that prior post you may want to adjust...
There are two ways to apply styles in a Silverlight application: explicit styles and implicit styles. The primary difference between them is that explicit styles have names (x:Key) and are applied to controls by their name. Implicit styles are not named...
Many Line of Business (LOB) applications need to accomplish more than one objective. For example, a Student Management application may need to enter students, enter grades, and show student progress. NOTE: This post is part of a series that starts with...
This is the first in a series of posts that will build a Silverlight Line of Business (LOB) application. This application builds a Student Management application for my company, InStep Technologies, Inc . One of the goals for these posts is to find the...
The Visual Studio tools are amazing, except when they don't work. Then they cause limitless frustration and waste countless hours. It is during these times of frustration that I find myself swearing at my favorite tool. But a few days later, when...
This prior post described the code that is generated when you compile a Silverlight application that uses WCF RIA Services and your own plain old CLR objects (POCOs). This post provides some ideas if something goes horribly wrong and the compiler does...
More Posts Next page »