• Testing & ALM

    CS0103: The name 'ViewBag' does not exist in the current context

    December 01, 2011 Share
    Technorati Tags: .NET,ASP.NET MVC I hit this error today while working with an MVC3 application.  It appeared out of the blue – but don’t they always?  Fortunately, I make a habit of committing my work into SVN every time my tests pass, so I could have just reverted back to my last Revision, but I wanted to know what I did to cause this. Much to my demise, the optimistic fixes didn’t work: Restart the debugger several times, because surely that will fix it :-) Close Visual Studio and reopen it. Just kidding.  But we do tend to try those don’t we? Back on topic,...
  • .NET Mobile

    Client-Side Hierarchical DataBinding to OData with RadGrid for ASP.NET AJAX

    If you haven't heard, Odata is a Web protocol that exposes your data to the Web, allowing consumers to make queries through a set of URI parameters. RadGrid, Telerik's ASP.NET AJAX Grid control features a rich client-side API that enables you to easily bind to OData services and have all the paging, sorting and filtering done without ever posting the page to the server. That is all fine if your data is flat. Binding to hierarchical data, however, is another story. RadGrid officially supports hierarchical databinding on the server only. But let's go unofficial for a while. In this blog post we'll demonstrate an approach for detail table databinding...
  • Testing & ALM

    Do you use Telerik Tools? Please Vote in the DevProConnections Awards

    August 23, 2011 Share
    My employer, Telerik, is once again competing for a bevy awards in the DevProConnections competition.  We are competing in 20 (yes, I mean twenty) categories, so there’s many places where you can show your love! To find out more about the competition you can read this great post on Telerik Blogs. I was a consumer of Telerik tooling long before I became an employee, and am still amazed by the level of responsiveness that the product teams have to feedback that I illicit from the community (both in person and online). Happy Coding!...
  • Testing & ALM

    Telerik RADControls for Windows Forms Webinar Sample Code and Slide Deck

    For those of you that attended the What’s New for Desktop Developers in Q2 2011 Release Webinar, thank you for attending!  For those that didn’t get to attend (or for those of you that want to go back through it since it was jam packed with information), the recording worked perfectly, and I will be posting it to Telerik TV in the next 48 hours!  Several people attending the webinar asked for the source code for my project that I created to demo the features as well as the powerpoint slides, and you can get them both here (slide deck, code...
  • Testing & ALM

    Using LINQ To Select Records Based on Child Collections

    [Cross posted from http://www.skimedic.com] Technorati Tags: LINQ,.NET Yesterday, after my session on LINQ at MADExpo, a gentleman asked me how I would solve a certain problem that he is facing at work with LINQ.  Here is my solution (turns out I was a little brain dead after giving three sessions at the conference, so while he was sitting with me, I just couldn’t see it). The Problem The problem consists of a list of salespeople that have sales.  Here are the classes involved: public class SalesPerson { public string Name { get; set; } public IList<Sales> Sales { get; set;...