Telerik blogs
  • Web

    RadControls for Silverlight Demo with ADO.NET Data Services

    Yesterday I wrote about how to databind RadTreeView for Silverlight to ADO.NET Data Service and use Load on Demand. The simple application from yesterday was upgraded to a small back-end application for the Northwind database, that allows editing and deleting products. This time I decided to give it to one of our designers and our new Silverlight front end developer and they implemented this slick design: The application is available online: http://demos.telerik.com/silverlight/northwindbackend/Default.aspx The source code can be downloaded from here: NorthwindBackend.zip In addition to yesterday's application, NorthwindBackend has extended data source, that provides simple undo mechanism and ability to update and delete products...
    May 27, 2021 5 min read
  • Web

    Silverlight TreeView Load on Demand

    Today I created a really simple application that demonstrates "best practice" for using RadTreeView with load on demand and ADO.NET Data Service. The application uses the Northwind database, that can be downloaded here. The tricky part is that in order to create almost codeless application we need to modify the automatically generated code of the service reference. To do that you will need to show all files in the Silverlight application (click the Show All Files in the Solution Explorer title bar) and then open Reference.cs: In this file replace all occurrences of "System.Collections.ObjectModel.Collection" with "System.Collections.ObjectModel.ObservableCollection". This probably will be changed in...
    May 27, 2021 2 min read
  • Release

    Page Navigation for Silverlight 2 RC0

    Hi my name is Boryana Miloshevska and  I’m a member of  Telerik`s Silverlight team. This is my first blog post and it is about the new RadPageNavigation framework that we just released  for Silverlight 2 RC0. RadPageNavigation is a framework that allows you to easily add navigation service to your application. To do that you can use the provided RadPage, RadFrame, RadFrameContainer and NavigationService classes, or you can use your own classes to implement the IFrame and ITransition interfaces. The framework is 100%  compatible with the WPF navigation service. Navigation between pages is supported. You can also use frames inside each page and to...
    May 27, 2021 4 min read
  • Web

    Create a Tabbed MDI using child forms

    If you are developing applications for Windows it is almost certain that you have incorporated the Multiple Document Interface (MDI) at some point. This is where you have a parent form that acts as the host for all forms within the application, minus a few exceptions. I know there are debates about whether MDI is an effective approach, but it doesn’t change the fact that MDI is very heavily used. I have found that the Tabbed Document Interface which is essentially an MDI that implements tab navigation between open items is pretty popular. As a matter of fact, this same...
    May 27, 2021 2 min read
  • Web

    RadChart – How to customize databound and auto-generated items?

    Imagine you have a databound RadChart and you need to customize the item labels, say you need to combine the values of two fields into a single item label. All you need to do is wire the ItemDataBound event, retrieve the ChartSeriesItem and customize it as per your requirements. You may use the actual data for this, here is an example:   protected void RadChart1_ItemDataBound(object sender, ChartItemDataBoundEventArgs e)     {         ChartSeriesItem item = e.SeriesItem;         DataRowView dataItem = (DataRowView)e.DataItem;         item.Label.TextBlock.Text = dataItem["FirstName"].ToString() + " " + dataItem["LastName"].ToString();     }   That was simple, but what about auto-generated axis items? OK, let’s start with some background – RadChart allows you to modify it at any stage of the page lifecycle, including events fired as...
    May 27, 2021 1 min read