Telerik blogs

Latest

  • Release

    New Training Session on Silverlight Routed Events

      With the Windows Presentation Foundation a new type of events were introduced - the Routed Events. They have provided the developer with an entirely new approach to the eventing and the event handling. Basically, Routed Events traverse the logical tree upwards or downwards, depending on their Routing Strategy – Bubble and Tunnel respectively.  To get deeper with what the routed events are and how RadControls for Silverlight uses them we prepared this comprehensive training session. Before launching the video session you might check the Hristo Hristov's blog on Routed Events in Silverlight 2 and our dedicated page on support for routed events at: http://www.telerik.com/products/silverlight/resources/routed-events-framework.aspx.    ...
    May 27, 2021 1 min read
  • Web

    Insert, Update, Delete with OpenAccess and RadGridView for Silverlight

    Download I will show you how easy is to integrate OpenAccess with RadGridView for Silverlight. I get the example from my colleague Dimitur and make it work with our RadGridView. If you are interested how to make OpenAccess to work with ADO.NET Data Services please read his blog series. To allow inserting new rows in RadGridView we should attach to AddingNewDataItem event. <telerik:RadGridView x:Name="gridView" Grid.Row="1" AddingNewDataItem="GridViewAddingNewDataItem" /> And provide the newly created object in it. private void GridViewAddingNewDataItem(object sender, GridViewAddingNewEventArgs e) { e.NewObject = new Supplier(); } Now we can insert new objects. Next steps is to save changes to the database. We should attach to GridViewRow.EditEndedEvent. this.gridView.AddHandler(GridViewRow.EditEndedEvent, new...
    May 27, 2021 1 min read
  • Desktop WPF

    How to use Custom Row Layouts in RadGridView for WPF

    Presenting data in a grid is common in many applications, but it doesn't have to look like a bunch or columns and rows.  With WPF you have freedom to make the data look totally different.  In this post, I am going to demonstrate using a custom row layout with the RadGridView for WPF.  To get started, I have setup a new window with a RadGridView.  I will be using the Northwind database Employees table for this example.  I would like to point out that if you are going to recreate this example, you will need to add the Window.Resources section...
    May 27, 2021 3 min read
  • Desktop WinForms

    RadGridView's Serialization Made Easy (WinForms)

    Hello to all! My name is Deyan and I am a new member of the Telerik WinForms Team. In my first blog post I will talk about the RadGridView’s Serialization API and will shortly explain some fundamentals that would help you understand how to utilize it. In case of further interest on this topic, I have prepared a KB article and a demo application to demonstrate different serialization scenarios using the API. The default serialization settings imply that all visible properties are stored in the XML output. In cases when you want to only store some simple layout settings without paying attention to...
    May 27, 2021 2 min read
  • Desktop WPF

    Easy programmatic UI customization for WPF and Silverlight

    I’m pleased to announce that with Q1 2009 release of RadControls for WPF / Silverlight you will be able to manipulate the controls very easily with two powerful extension methods: ParentOfType<> and ChildrenOfType<>. Here are several small demos for RadGridView: 1) Get all grid rows:      var rows = RadGridView1.ChildrenOfType<GridViewRow>(); 2) Get all grid cells:      var cells= RadGridView1.ChildrenOfType<GridViewCell>(); 3) Get all grid header cells:      var headerCells = RadGridView1.ChildrenOfType<GridViewHeaderCell>(); 4) Get (and show) new row:      var newRow = RadGridView1.ChildrenOfType<GridViewNewRow>().First();     ...
    May 27, 2021 2 min read
  • Release

    Another new Telerik product - conundrum

    We'll be releasing a new product for Q1 and will be posting a ton of details about it in the coming weeks. Before that happens though, I thought I'd give everyone a chance to win a very special, limited-edition Telerik T-shirt. All you need to do is to provide a correct answer to the riddle below (which can give you some clues about the new product but you still need to be a bit creative): "I am a product of art Your capabilities I'll test And put all worries to rest In Visual Studio I run And using me is fun" Enjoy! p.s. Please use real names that I can identify in our database so...
    May 27, 2021 1 min read
  • People

    Free webinar on RadGridView for WPF on February 5

    We are happy to invite you to the second session of the free Telerik webinar series that will take place every Thursday at 11:00 am EST. This week’s session will be presented by Telerik Evangelist John Kellar, who will introduce you to the powerful RadGridView for WPF. Built from the ground-up to take advantage of the WPF platform and the .NET 3.5 framework, RadGridView for WPF represents the next generation in flexible data presentation controls you need to build powerful line of business applications. In this session, John will provide an overview of RadGridView and help you understand all of its capabilities....
    May 27, 2021 1 min read
  • Productivity

    Saving a few lines of code. Part V - Raising events.

    As you read the title of this post you may ask yourself - Hmmm, raising an event... wasn't that achievable with 1-2 lines of code? How smaller could it get, 0 lines of code? And you're almost right, to raise an event is not such a big deal. Supposing you have an event of type EventHandler. public event EventHandler Clicked;     Typically you have a virtual protected method which raises the event: protected virtual void OnClicked(EventArgs e)   {       if (Clicked != null)           Clicked(this, e);   }    Pretty simple unless you want to be thread safe (well... almost thread safe), then you should add one additional line: protected virtual void OnClicked(EventArgs e)...
    May 27, 2021 2 min read
  • Release

    Reporting Q3 SP2 - a few small improvements for a service pack

    Hi guys! I just decided to bring you up to speed with our Q3 SP2 release. On top of the improvements we introduced with the new rendering engine in the Q3 version, we have prepared a few small surprises for the Q3 SP2 as well: optimization of image/pdf/rtf rendering. As you know, Q3 2008 came with new paging logic that introduced a superior and more sophisticated algorithm for calculation and inspection of pages before they are rendered. Now we take a step further and make it possible to decrease the rendering time with almost 30% when PageCount is...
    May 27, 2021 1 min read
  • Release

    Telerik Reporting 101 Webinar Rescheduled for Tuesday, 2/3

    Once again, apologies to the 700+  people who've registered for the Telerik Reporting 101 webinar scheduled for last Thursday, January 29. Our presenter, Kevin Babcock, became suddenly ill and we had to cancel the webcast shortly before its scheduled start time. The good news is that Kevin feels much better and has rescheduled the webinar for Tuesday, February 3; 11:00am-12:00pm EST (4:00pm-5:00 GMT). Please note, you need to register again even if you had already signed up for the cancelled webinar! In case you can't make it tomorrow, there will be a recorded version available shortly after the webinar, and of course Kevin will...
    May 27, 2021 1 min read