(Ged Mead) For some reason, I struggled with HierarchicalDataTemplates when I first tried to use them. Although I understood the overall theory that they walk the data tree and can create formatted, nested output, I always seemed to spend an inordinately long time trying to get things to work just a
Tag: Development
Looping Over ColdFusion JSON Queries In jQuery
(Ben Nadel) I’ve talked to people many times about how to loop over ColdFusion queries that have been returned from an AJAX call in JSON format. The serialized format of ColdFusion queries are a bit round-about since they are designed for memory optimization, not necessarily usability. As such, I of
Advanced View of a ToolTip in Silverlight 3
(Sergey Zwezdin) Usually in any business application there is a big set of control elements which often implement complex functionality and can confuse a user. To make a user’s work easy, there are various types of help in almost every application. These helps are shown in a variety of ways: labels
Conditional Rendering in ASP.NET AJAX 4.0
(Dino Esposito) Client-side rendering is by far the most exciting, and long-awaited, new feature you’ll find in ASP.NET AJAX 4. Client-side rendering allows you to use HTML templates to define your desired layout and supplies a text-based syntax for placeholders of run-time data. It all looks like s
Grouping Data in the ListView Control
(AzamSharp) In ASP.NET 1.X and ASP.NET 2.0 DataList was the primary control used to display data in groups. In ASP.NET 3.5 we have a new control that takes care of grouping data. In this article we are going to demonstrate how to group data using the ListView control.
A Better WPF TreeViewItem Grouping Sample
(Ged Mead) In previous blogs I was looking at ways of grouping TreeViewItems. Those blogs included other features, such as changing the visibility of individual nodes based on the data content of each field. The blog that dealt with TreeViewItem visibility is here and the one that expanded the idea
Parameterized IN clauses with ADO.NET and LINQ
(Mike Brind) Since my article on using parameters for Preventing SQL Injection In ASP.NET, I have had a few emails asking how to do the same with an IN clause expression. In this entry, I explore a couple of ways to do this.
Pie Chart in WPF
(Mahesh Chand) The WPF Toolkit released in June 2009 comes with a data visualization assembly called System.Windows.Controls.DataVisualization.Toolkit.dll that hosts the charting functionality in WPF. This article demonstrates how to draw pie charts using the WPF Toolkit.
Dynamically Setting Parameters
(Peter Vogel) In last week’s column (Dynamic Data Retrieval), I looked at configuring DataSources at runtime to respond to user input. By the end of that column, I’d discussed dynamically picking the source for your data and what fields you would retrieve. However, as I pointed out, it’s an unusual
WPF Attached Behavior Example – Watermark Text
(Dan Gartner) I’ve been working on a relatively simple WPF application lately, in an effort to effectively follow the MVVM pattern, I’ve been working with custom attached properties. In my app, I have some textboxes that I want to contain some default text that is removed when the user tabs into th
