Telerik blogs
  • Productivity

    Code snippets in Visual Studio 2005 – Part I

    Many folks are bashing VS2005 but there are some really great things the folks at MS have added for us in VS2005. One of my personal favorites is the code snippets mechanism. I personally find this feature to be kind of underestimated and will try to give you some basic knowledge about what code snippets in VS2005 are, how to manage them, how to find new, and of course how to “do it yourself” By definition code snippets are referred to as “ IntelliSense Code Snippets” – by nature they are reusable, task-oriented blocks of code, encapsulated in a XML file...
    May 27, 2021 2 min read
  • Web

    The (TextBox) loss of text conspiracy

    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...
    May 27, 2021 2 min read