13.5. Creating the Categories Page

Next up is the categories page. The first step is to load the data the same way as for the expensive products in the dashboard, as shown in Listing 13-18. Figure 13-17 shows how the grid looks. Notice how grouping, sorting, filtering, and editing are enabled by default. Figure 13-18 shows the powerful filtering menu, which displays filtering options depending on the column data type.

Example 13.18. Loading Data into RadGridView
<telerik:RadGridView x:Name="categoriesGridView" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Category ID" DataMemberBinding="{Binding CategoryID}" /> <telerik:GridViewDataColumn Header="Category Name" DataMemberBinding="{Binding CategoryName}" ...

Get Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and Silverlight Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.