While working on AJAX support for r.a.d.calendar, one of our relatively new controls, I came across a very interesting issue with the ASP.NET TextBox control. The problem was related to ViewState management, or better said, the absence of such. The TextBox simply didn’t seem to handle any ViewState information and the TextBox values were not persisted and reloaded correctly after PostBack. What I was doing wasn’t rocket science - I wanted to make the TextBox (System.Web.UI.WebControls.TextBox) persist its value when the user scrolls forward or backward through the month views. My first thought was that I’m brain-dead and have had...
Over the last couple of years we've heard quite a few complaints that it's not easy to find your way around www.telerik.com and that information is scattered. I myself have been amazed how much content is there but nobody knows about it. Responding to the growing pressure from customers and our team we have been re-working our corporate site over the last few months. One part of our efforts was (and continues to be) to improve www.telerik.com structure and content. The other part of the solution was to add powerful search capabilities to our web property. Once there was a clear need for...
Tackling problems and coding solutions for them is an essential part of the job of a software engineer like myself. The only problem with this is that sometimes work becomes a little boring and repetitive. With some tasks you can even begin to feel a little like a brainless code monkey that knows how to do its job very well, but lacks the stimulation of problems that appeal to the creative capabilities of the brain. Enter the Sudoku! I have always liked logical puzzles as a kid (and adult too) and when I was first introduced to sudoku I was immediately...
Today we finally renewed our Gold Certified status in the Microsoft Partner Program. It was a bigger pain to go through all the steps and complete all requirements than it was last year, but I am very happy that everything is all set again. Now that everything is official we will be able to put the following text on our site:"Microsoft Gold Certified Partners are the elite Microsoft Business Partners who earn the highest customer endorsement. They have the knowledge, skills, and commitment to help implement technology solutions that match your exact business needs." Impressive, huh?:) Don't worry, we won't put it on...
As I have mentioned earlier (see "To leak, or not to leak…(memory) – Part One") the closures are the most common reason for memory leaks in Internet Explorer. They are extremely good at forming circular references especially in the context of Host objects. The most common example is event handlers “owned” by a Native object which are attached to a specific event raised by a DOM element and hold a reference to that DOM object kept in the Native object. Example:DOMElement.Event -> NativeObject.EventHandler -> current execution context scope -> NativeObject. DOMElementRefference -> DOMElement Very frequently websites and web applications with a rich UI include components which produce...
A few weeks ago a couple of colleagues and I established that our source control system (VSS 6.0d) needs to be updated. There were numerous issues that were plaguing our daily struggle with Source Safe – slow speed, frequent crashes and file corruptions. Naturally we began looking for alternatives of the aging software (version 6.0 was originally released with VStudio 6.0 and was only patched a bit with the release of VS.NET in 2002). In a nice bit of synchronicity with our efforts, Visual Studio 2005 was just released and introduced a brand new version of Source Safe (it was internally...
As a newbie blogger perhaps I should have started with a brief info on who I am and should have continued with a post extending my best wishes for Xmas and Year 2006. Nonetheless, I thought it's a better idea to post some technical content that might be of use to our community. Perhaps the info will benefit some of you and will let you spend Xmas Eve with your family, rather than sit in the office trying to fix problems for which our team has found solutions. Ever been shocked with how much your memory usage grows on every refresh...
One of the people on our design team sent us the good news this morning - it's official that Internet Explorer for Mac will no longer be supported and will not be available for download as of December 31st, 2005. You can read the full bulletin at the Mactopia site:http://www.microsoft.com/mac/products/internetexplorer/internetexplorer.aspx?pid=internetexplorerI am sure there won't be a lot of tears in the eyes of our development team now that the "villain" will be finally gone. We will not stop to support Mac IE immediately but we do plan to drop support for the notorious browser at some point in Q1 2006. We do recommend to customers...
It's official now: I am a co-author of a real paper book. The book is titled ???????????? ?? .NET Framework (.NET Framework programming) and it is written in Bulgarian. I am holding it right now -- it is a bit heavy (800+ pages for the first part), but holding it feels good. The first part has been published and we are expecting the second part really soon. The cool thing is that the book is distributed under a free license and you can download the text in DOC or PDF format from the site. The book is an introductory-level text, aimed for the beginner programmers. Most...
My name is Vladimir Milev and I am a software engineer at telerik. I would like to talk about code metrics in my first post on the company blog. The r.a.d.controls suite has come a long way and features a lot of components. This has come at a price though – increasing complexity of the code. Code complexity is measured in different ways, however, the most commonly acclaimed metric is called “Cyclomatic complexity”. It was introduced by Thomas McCabe in 1976, and it measures the number of linearly-independent paths through a program module. The score is determined by the following...