Telerik blogs

Latest

  • 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
  • Desktop WPF

    WPF How To: Endless scrolling of 2mil. records using BackgroundWorker and LINQ to SQL

    I’ve made small demo how to create easily endless scrolling of almost 2 mil. records (exact count is 1770607) using RadGridView for WPF. When you reach the bottom of the vertical scrollbar, more data will be retrieved on-the-fly from the data-base server: For asynchronous data loading you can use BackgroundWorker: BackgroundWorker worker = new BackgroundWorker(); worker.DoWork += new DoWorkEventHandler(worker_DoWork); worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(worker_RunWorkerCompleted); worker.RunWorkerAsync(); … void worker_DoWork(object sender, DoWorkEventArgs e) { NorthwindDataContext context = new NorthwindDataContext(); queryable = from o in context.Orders from od in context.Order_Details ...
    May 27, 2021 1 min read
  • People

    RadControls Nominated for the Industry "Oscars"

    We are happy to share with you the good news that RadControls (ASP.NET AJAX, WinForms, Silverlight, and WPF) have been nominated as finalist in the "Libraries, Frameworks and Components" category in the 19th Annual Software Development Jolt Product Excellence Awards. Known as the “Oscars” of our industry, the Jolt Product Excellence and Productivity Awards are presented annually to showcase products that have "jolted" the industry with their significance and made the task of creating software faster, easier, and more efficient. RadControls were selected as a finalist among nearly 300 qualified nominations that were submitted online. In the next round...
    March 11, 2025 1 min read
  • Web

    JavaScript Timing Events

    This article is taken from W3Schools.   With JavaScript, it is possible to execute some code NOT immediately after a function is called, but after a specified time interval. This is called timing events. It's very easy to time events in JavaScript. The two key methods that are used are: setTimeout() - executes a code some time in the future clearTimeout() - cancels the setTimeout() setTimeout() Syntax var t=setTimeout("javascript statement",milliseconds);  The setTimeout() method returns a value - In the statement above, the value is stored in a variable called t. If you want to cancel this setTimeout(), you can refer to it using the variable name. The first parameter of setTimeout() is a...
    May 27, 2021 2 min read