Telerik blogs
  • Web

    History Enabled Script Manager and Silverlight

    A.k.a Deep Linking in Silverlight Undoubtedly Silverlight offers a myriad of useful features that can enhance the user and development experience – Binding, Multithreading, Layout System, Animations to name a few. But the fact that it is in essence a browser plug-in leads to certain limitations or “hurdles” for the user experience. Deep Linking? Why? One such thing is the lack of Deep Linking, i.e. the browser’s address bar contains the starting page for the application but any change in its state is not reflected in the address. Some people argue that there is difference between Web Applications and Web Pages and while the...
    April 30, 2008 5 min read
  • Web

    Silverlight 2.0 Custom Scroll Viewer with Mouse Wheel

    In this blog post i will demonstrate how to customize Scroll Viewer and enable the mouse wheel functionality. I would be using the mix08 controls for  silverlight 2.0. they are  free and with open license. Before start please download Mix08 Controls. 1. Extract them and then open MixControls, after that see generic.xaml file, and open it. Find and copy the ScrollViewer style, it should be something like: .cf { font-family: Courier New; font-size: 10pt; color: black; background: white; } .cl { margin: 0px; } .cln { color: #2b91af; } .cb1 { color: #a31515; } .cb2 { color: blue; } .cb3 { color: red; } .cb4 { color: green; }    <Style x:Key="ScrollBarStyle" TargetType="ScrollBar">           <!-- Any other properties you want to set -->           <Setter Property="Template"> 2. Open your Silverlight project in VS 2008, and go to App.xaml and paste in the <Application.Resources> the style for the scroll viewer....
    April 18, 2008 3 min read
  • Desktop WPF

    WPF Series: Adorners, Commands and Logical Tree

    Today I'm going to tell you a WPF story. But before I start to dig deeper let me first introduce you the main characters in this post. Here they are: Adorner - adorners are simple UIElement decorators. Suppose that you have a RichTextBox and you want to place a comment box over it, so that users can comment on the text in the box. This can be archived with adorners. Actually the WPF framework uses adorners internally for exactly the same purpose when you edit and annotate FlowDocument in a DocumentViewer. This is the reason why adorners are in System.Windows.Documents namespace. Command - commands are UI...
    April 16, 2008 5 min read
  • Release

    RadControls for Silverlight 2.0 World Premier Webcast

    Join Telerik Chief Technical Evangelist Todd Anglin as he introduces you to Telerik's brand new suite of components for Microsoft's Silverlight 2.0. This is the first time the RadControls for Silverlight 2.0 have ever been shown in public, so don't miss your opportunity to be among the first to see what Telerik is doing in the Silverlight space.  Anyone considering Silverlight development in 2008 should attend this event to learn how leading .NET UI component vendor Telerik is going to make it easy to develop professional applications on this brand new framework with very little code. The webcast will be on Friday, December...
    December 12, 2007 1 min read
  • Web

    The Minesweeper Game Done in Silverlight 1.1

    Silverlight is a Blast! And instead of trying to convince you, we present you a well-known game in its silverlit clothes. The minesweeper! It adds to other games that in the past several weeks have shown the ease with which you can use Silverlight to create online interaction and games. It uses no fancy frameworks but underlines the simplicity and straightforwardness of Silverlight development. The number of mines and the rows/columns are configurable. To mark a mine - instead to click with the right mouse button, click with the left mouse button while holding the CTRL or SHIFT key. Try the game: http://blogs.telerik.com/demos/minesweeper/ Get the code here: The...
    November 09, 2007 1 min read